🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.next.programmer
Article #46

Re: Keeping data from swapping

#46
From: Sean Lamont
Date: Thu, 29 Oct 1992 07:19
13 lines
1294 bytes
In article <1992Oct28.075558.2721@relief.com> jjfeiler@relief.com writes:
>I've got a large image that I need to keep all in ram, at all times.  I've  
>used get/setrlimit(RLIMIT_DATA,rtp) calls to set the data limit to the  
>maximum, and that definitely seems to help, but is there any way to wire down  
>pages of ram from an application?  If that isn't possible, would it be  

look at kalloc()/kfree()

-- 
Sean T. Lamont                           |   "Don't oppress me, It's
zeno@genetics.washington.edu             |    'computer of color!' "
lamont@abstractsoft.com                  |_______________________________
Abstract Software                                                         
Technical Details
Message-ID: <1992Oct29.071919.26859@u.washington.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!spool.mu.edu!caen!zaphod.mps.ohio-state.edu!saimiri.primate.wisc.edu!uakari.primate.wisc.edu!usenet.coe.montana.edu!news.u.washington.edu!phylo.genetics.washington.edu!zeno
References: <1992Oct28.075558.2721@relief.com>

Show Full Headers
Complete Article Headers
Newsgroups: comp.sys.next.programmer
Path: arc1-ca.pugleaf.net!sparky!uunet!spool.mu.edu!caen!zaphod.mps.ohio-state.edu!saimiri.primate.wisc.edu!uakari.primate.wisc.edu!usenet.coe.montana.edu!news.u.washington.edu!phylo.genetics.washington.edu!zeno
From: zeno@phylo.genetics.washington.edu (Sean Lamont)
Subject: Re: Keeping data from swapping
Message-ID: <1992Oct29.071919.26859@u.washington.edu>
Sender: news@u.washington.edu (USENET News System)
Organization: University of Washington, Seattle
References: <1992Oct28.075558.2721@relief.com>
Date: Thu, 29 Oct 1992 07:19:19 GMT
Lines: 13