]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
guard page for stacks that grow upwards
authorLuck, Tony <tony.luck@intel.com>
Tue, 24 Aug 2010 18:44:18 +0000 (11:44 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 27 Sep 2010 00:18:41 +0000 (17:18 -0700)
commit0ac99e6ff81f5c4d57c2cb1b716a3cb78227740c
tree84e9703f8155df036027f37654e1ef822e16ba06
parent3c8b7588c8bb9609c73c49087449be991d3d45ba
guard page for stacks that grow upwards

commit 8ca3eb08097f6839b2206e2242db4179aee3cfb3 upstream.

pa-risc and ia64 have stacks that grow upwards. Check that
they do not run into other mappings. By making VM_GROWSUP
0x0 on architectures that do not ever use it, we can avoid
some unpleasant #ifdefs in check_stack_guard_page().

Signed-off-by: Tony Luck <tony.luck@intel.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Cc: dann frazier <dannf@debian.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
include/linux/mm.h
mm/memory.c
mm/mmap.c