[comp.sys.next] How to "wire down " memory pages.

schock@cpsc.ucalgary.ca (Craig Schock) (06/27/90)

I was told about 6 months ago that it was not possible to lock 
pages into ram so that they cannot be swapped out.  But recently, 
I've found various references to the fact that pages can be, as
they call it, "wired down".  In the man pages for vm_stat, it claims
that wired down pages cannot be swapped out;  this is what I am 
looking for.  Does anyone know if/how this can be done and can
it be done with any program.  I need this to ensure that a 
very high priority program will not be swapped out.
 
Thanks...

========================================================================
Craig Schock                               schock@cpsc.UCalgary.CA
University of Calgary  (More reliable ->)  schock@flip.cpsc.UCalgary.CA

DAMMIT Jim I'm a doctor not an OCEOTRIPTAPHANTIAENTOLOGIST!
========================================================================

hess@iuvax.cs.indiana.edu (Caleb Hess) (06/29/90)

If your program is a Loadable Kernel Server, you can specify that you 
want it "wired down", to avoid paging.  I don't know how the kernel
server loader does it, though.