From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <13426df10711060951i41c3ff41uc6a2d51b55697cc6@mail.gmail.com> Date: Tue, 6 Nov 2007 09:51:11 -0800 From: "ron minnich" To: "Fans of the OS Plan 9 from Bell Labs" <9fans@cse.psu.edu> Subject: Re: [9fans] Memory management questions/not plan-9 specific In-Reply-To: <11F071B3-1B01-4272-9EA4-1C2BD50BCC0B@telus.net> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <11F071B3-1B01-4272-9EA4-1C2BD50BCC0B@telus.net> Topicbox-Message-UUID: eb987526-ead2-11e9-9d60-3106f5b1d025 On 11/6/07, Paul Lalonde wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > I have an application I'm building which requires OS support to allow > a user-space function to fill a page on page-faults. Ideally, I > could reserve a chunk of address space but not back it with memory, > and then on fault my handler would serve out data from some small > cache of user-managed physical pages. > > My google-fu has been weak in finding such a system-level API in any > OS. Has this got a name I should be searching on? I can't believe > no-one has implemented user-level page replacement. you can look at the code in this: http://mbgokhale.org/rminnich/job/zounds/zx.tar docs are at : http://mbgokhale.org/rminnich/job/zounds/zounds.ps i still get the occasional note from someone who is using it. ron