Keeping pages from getting swapped out.

Tushar D Chandra chandra at thiazi.cs.cornell.edu
Thu Mar 8 01:46:45 AEST 1990


Hi,

I'm writing an application in which I need to keep a small process (1-2 pages)
from getting swapped out. The following solutions are unacceptable:

1. modifying the kernel
2. writing the process as a device driver (see 1). I need the process to be an
	"honest to god" user process.

Does anyone out there know how to do this? If I remember correctly, older
versions of UNIX *had* a system call (lock, I think) which if executed by a
process run by root would solve my problem.

Thanks in advance.

-Tushar Chandra
(e-mail chandra at cs.cornell.edu)



More information about the Comp.unix.wizards mailing list