]> git.baikalelectronics.ru Git - kernel.git/commit
mm: make the mlock() stack guard page checks stricter
authorLinus Torvalds <torvalds@linux-foundation.org>
Fri, 20 Aug 2010 23:39:25 +0000 (16:39 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 21 Aug 2010 15:49:50 +0000 (08:49 -0700)
commit18dcd7d146291d2436474cc2de6e9db49540a9dd
tree76c15db91609ad3355add2a6f23823ea27cf920d
parent51aac72579db34a06abddbebb5d66be72b3c1470
mm: make the mlock() stack guard page checks stricter

If we've split the stack vma, only the lowest one has the guard page.
Now that we have a doubly linked list of vma's, checking this is trivial.

Tested-by: Ian Campbell <ijc@hellion.org.uk>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/mlock.c