aboutsummaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2010-08-20 16:49:40 -0700
committerGreg Kroah-Hartman <gregkh@suse.de>2010-08-26 16:45:56 -0700
commit6bed99917d414371cd5342158b6ed514ee8fee45 (patch)
treed755f62f61398d939ab216e25943daf706bb1b6e /arch
parente89cfc48a21fa83088e083fe6341ff803ab32f8e (diff)
mm: make stack guard page logic use vm_prev pointer
commit 0e8e50e20c837eeec8323bba7dcd25fe5479194c upstream. Like the mlock() change previously, this makes the stack guard check code use vma->vm_prev to see what the mapping below the current stack is, rather than have to look it up with find_vma(). Also, accept an abutting stack segment, since that happens naturally if you split the stack with mlock or mprotect. Tested-by: Ian Campbell <ijc@hellion.org.uk> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions