]> git.hungrycats.org Git - linux/commit
[PATCH] Fixing mlockall & PROT_NONE
authorAndi Kleen <ak@colin2.muc.de>
Mon, 13 Oct 2003 04:24:49 +0000 (21:24 -0700)
committerLinus Torvalds <torvalds@home.osdl.org>
Mon, 13 Oct 2003 04:24:49 +0000 (21:24 -0700)
commitc3d6daa8dacd08762d93723a425d0db67bd84e60
treea009837d00ea8b08c7b25d5e07418ff6775a801d
parenta01b0767146e627666912868d3664287c775f9e1
[PATCH] Fixing mlockall & PROT_NONE

This is the minimal change to make "mlockall()" not complain about
the occasional PROT_NONE area.

PROT_NONE is commonly used on x86-64, and is no reason to not lock
in the rest of the mappings into memory.
mm/mlock.c