🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.sun
Article #13569

can one lock a process in core?

#13569
From: Brian Yanny
Date: Thu, 01 Feb 1990 21:42
13 lines
998 bytes
If one does a 'man ps' there is a flag called SULOCK which says that the
process is locked in core: 

 SULOCK      0000040 user settable lock in core

There is documentation floating around on how to do this on a Sun 386i by
'writing your own syscall', but I was wondering if it is possible to do on
a Motorola Sun 3/60, 3/260, etc.  I would like to do this to prevent a
process that is only used infrequently from being swapped out (some
almost-real-time unix).  Has anyone does this?

brian
brian@oddjob.uchicago.edu
Technical Details
Message-ID: <4693@brazos.Rice.edu>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!clyde.concordia.ca!jarvis.csri.toronto.edu!mailrus!cs.utexas.edu!rice!sun-spots-request

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!clyde.concordia.ca!jarvis.csri.toronto.edu!mailrus!cs.utexas.edu!rice!sun-spots-request
From: brian@tank.uchicago.edu (Brian Yanny)
Newsgroups: comp.sys.sun
Subject: can one lock a process in core?
Keywords: Miscellaneous
Message-ID: <4693@brazos.Rice.edu>
Date: 1 Feb 90 21:42:59 GMT
Sender: root@rice.edu
Organization: Sun-Spots
Lines: 13
Approved: Sun-Spots@rice.edu
X-Sun-Spots-Digest: Volume 9, Issue 24, message 13 of 15