Re: MacOS X equivalent of swapon/swapoff?
Re: MacOS X equivalent of swapon/swapoff?
- Subject: Re: MacOS X equivalent of swapon/swapoff?
- From: "Justin C. Walker" <email@hidden>
- Date: Tue, 10 Oct 2006 10:24:22 -0700
On Oct 10, 2006, at 10:10 , Alison Cassidy wrote:
Does anyone know if there is a programmatic way of switching VM on
and off, similar to the way Linux does it? I've good reason to do
this (honest!) and need some way to disable VM for the duration of
running my app or at the least, ensure it doesn't flush to disk at
the wrong moment.
AFAIK, no OS that supports VM has such a feature. How would you
deal, within your app, with this problem: you are running, you "turn
off VM", the next instruction to be executed in your app lies at the
start of a page that, oops, is paged out?
There may be more reasonable ways to solve your problem. Can you be
more specific about what you are trying to do?
Justin
--
Justin C. Walker, Curmudgeon-at-Large
() The ASCII Ribbon Campaign
/\ Help Cure HTML Email
_______________________________________________
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