Re: 10.6.2 issues with F_NOCACHE?
site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com On 04 Feb 2010, at 17:41, Jens Alfke wrote:
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.
The buffer cache would probably keep the memory that you munmap still around (if you touched it prior to munmapping). I think that's what Godfrey meant with "it will map the entire file into memory at some stage". Jonas _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... This email sent to site_archiver@lists.apple.com
participants (1)
-
Jonas Maebe