From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,e0cf147bd82c9241 X-Google-Attributes: gidfee84,public X-Google-ArrivalTime: 1993-11-26 08:40:10 PST Path: gmd.de!newsserver.jvnc.net!howland.reston.ans.net!spool.mu.edu!bloom-beacon.mit.edu!crl.dec.com!crl.dec.com!nntpd.lkg.dec.com!det.dec.com!charette From: charette@ultoe.det.dec.com (Mark Charette) Newsgroups: comp.unix.osf.osf1 Subject: Re: Locking Process in Memory under DEC OSF/1 Date: 26 Nov 1993 16:33:45 GMT Organization: Digital Equipment Corporation Farmington Hills, MI Message-ID: <2d5b59INNo8e@lemans.det.dec.com> References: <2bmdgu$sq6@rigel.fccc.edu> <2cf6m9$a11@nuscc.nus.sg> NNTP-Posting-Host: hippy.det.dec.com X-Newsreader: TIN [version 1.2 PL0] Jeremy (ccengce@leonis.nus.sg) wrote: : Steve Rosen (smrosen@vega.rm.fccc.edu) wrote: : : I have a process that I want to lock in physical memory or at least keep in : : physical memory as much as possible. Is there any mechanism to control this. I : : don't have access to the source code so it would have to be done at the : : operating system level. : I don't think there's any os command to do that, you can place a file in : memory though, but your program has to know where to look for it. Try the plock() call if available and you can get your process to suid root. plock() allows a process to lock text or data or both into real memory. -- Mark Charette | csh> Disclaimer: I speak for myself MIKA Systems | Disclaimer:: Too many arguments charette@ultoe.det.dec.com | csh> (313) 280-0703 |