Re: madvise
Re: madvise
- Subject: Re: madvise
- From: Brian Bergstrand <email@hidden>
- Date: Tue, 13 Apr 2010 23:36:45 +0300
Follow the source.
For 10.6.3 @ http://www.opensource.apple.com/source/xnu/xnu-1504.3.12/
madvise in bsd/kern/kern_mman.c
leads to
mach_vm_behavior_set in osfmk/vm/vm_user.c
leads to
vm_map_behavior_set in osfmk/vm/vm_map.c
which appears to implement all the various map operations (in particular DONTNEED and FREE)
On Apr 13, 2010, at 11:13 PM, Joel Reymont wrote:
>
> On Apr 13, 2010, at 8:55 PM, Jonas Maebe wrote:
>
>> There's this post (on another list) from an Apple engineer: http://lists.apple.com/archives/PerfOptimization-dev/2009/Apr/msg00024.html
>
> Yes, that's the post I had in mind!
>
> Can someone clarify the Snow Leopard status of these?
>
> Thanks, Joel
>
Brian Bergstrand
<http://www.bergstrand.org/brian/> PGP Key ID: 0xB6C7B6A2
_______________________________________________
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
References: | |
| >madvise (From: Joel Reymont <email@hidden>) |
| >Re: madvise (From: Jean-Daniel Dupas <email@hidden>) |
| >Re: madvise (From: Jonas Maebe <email@hidden>) |
| >Re: madvise (From: Joel Reymont <email@hidden>) |