https://github.com/torvalds/linux
Revision 0e8e50e20c837eeec8323bba7dcd25fe5479194c authored by Linus Torvalds on 20 August 2010, 23:49:40 UTC, committed by Linus Torvalds on 21 August 2010, 15:50:00 UTC
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>
1 parent 7798330
History
Tip revision: 0e8e50e20c837eeec8323bba7dcd25fe5479194c authored by Linus Torvalds on 20 August 2010, 23:49:40 UTC
mm: make stack guard page logic use vm_prev pointer
Tip revision: 0e8e50e
File Mode Size
kvm

back to top