Re: How to know when memory pages are swapped?
Re: How to know when memory pages are swapped?
- Subject: Re: How to know when memory pages are swapped?
- From: Shaun Wexler <email@hidden>
- Date: Wed, 4 May 2005 15:12:05 -0700
On May 4, 2005, at 2:43 PM, Stéphane LETZ wrote:
On 4 mai 05, at 23:24, Shaun Wexler wrote:
I wrote a paged-buffer class with selectable features such as
wired, virtual-ring, shared, etc. During starting of an audio
device, I first wire down and touch each page of the I/O ring
buffers; when the device stops, they are unwired and/or freed.
Any buffers that my audio/DSP and MIDI time-constrain threads
utilize, I wire when in use. There are a few MacFOH users who
only have 128 to 384 MB of RAM installed, and nobody has reported
any thrashing issues.
Thanks a lot.
Just to check again :
- mlock/munlock is available for user space code
The caveat is that they must also be executable, to be wired from
user space.
--
Shaun Wexler
MacFOH
http://www.macfoh.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden