Le 28/02/2011 21:18, Jeff Squyres a écrit :
> On Feb 28, 2011, at 2:02 PM, Samuel Thibault wrote:
>>> That would seem to imply that I should always hwloc_set_area_membind() if I want it to persist beyond any potential future swapping.
>> I guess that could be right, but it definitely deserves testing before
>> trusting potentially-outdated documentation :)
> Brice - did you see anything about this when reading the kernel code?
The kernel only looks at the current virtual memory area policy. If you
didn't call set_area_membind, the default policy is used. It doesn't
care about the location of the old page before swap-out. It's similar to
first-touch: use a local page as long as some pages are available there.