Keeping pages from getting swapped out.

Paul de Bra wsinpdb at eutws1.win.tue.nl
Thu Mar 8 20:40:16 AEST 1990


In article <38281 at cornell.UUCP> chandra at cs.cornell.edu (Tushar D Chandra) writes:
>Hi,
>
>I'm writing an application in which I need to keep a small process (1-2 pages)
>from getting swapped out.

SCO Xenix (i only looked at 2.2.1 for the 286) has a system call "plock"
which does this (when executed by root).

System V release 3.2 claims to be compatible with Xenix but fails in this
area as it does not have the plock call.

I'm afraid you are out of luck at this time, at least when looking at
the 'standard' unix versions. (BSD and SYSV).

Paul.
(debra at research.att.com)



More information about the Comp.unix.wizards mailing list