Path: utzoo!utgpu!jarvis.csri.toronto.edu!clyde.concordia.ca!uunet!mcsun!hp4nl!tuegate.tue.nl!eutws1!wsinpdb From: wsinpdb@eutws1.win.tue.nl (Paul de Bra) Newsgroups: comp.unix.wizards Subject: Re: Keeping pages from getting swapped out. Keywords: swapping, vadvise, sticky bits, torn hair Message-ID: <1588@tuegate.tue.nl> Date: 8 Mar 90 10:40:16 GMT References: <38281@cornell.UUCP> Sender: news@tuegate.tue.nl Distribution: comp Organization: Eindhoven University of Technology, The Netherlands Lines: 17 In article <38281@cornell.UUCP> chandra@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@research.att.com)