Re: [RFC] mlock/stack guard interaction fixup

Peter Zijlstra
2010-08-23T17:53:55Z

On Mon, 2010-08-23 at 10:34 -0700, Linus Torvalds wrote:
> It's also
> dubious as a way to pin particular pages in the page tables, because
> it's not necessarily something that the semantics guarantee
> (historically mlock just guarantees that they won't be swapped out,
> not that they will necessarily maintain some particular mapping).

Quite so, and esp. now that page migration gets used more with all that
memory compaction stuff that got merged.