Re: 10.6.2 issues with F_NOCACHE?
Re: 10.6.2 issues with F_NOCACHE?
- Subject: Re: 10.6.2 issues with F_NOCACHE?
- From: Jens Alfke <email@hidden>
- Date: Thu, 4 Feb 2010 08:41:22 -0800
On Feb 4, 2010, at 2:23 AM, Godfrey van der Linden wrote:
> Unfortunately the mmap won't really help you as it will map the entire file into memory at some stage.
Yes, but more efficiently than reading the entire file into a malloc block (which is what I inferred the OP is doing; but maybe I'm wrong.)
Couldn't one mmap() only a piece of the file at a time? I.e. mmap the first 10MB, then unmap it and map the next 10MB, etc.
—Jens _______________________________________________
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