]> git.baikalelectronics.ru Git - kernel.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)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 24 Aug 2010 19:13:20 +0000 (12:13 -0700)
commita15a5a9efc3402ec46b80882e52d0d2c883dcaac
tree32b9f033230d615d248fa0bbfa1a0c644a422ed8
parentad27f180528c38f825238e166076167e12d873fd
guard page for stacks that grow upwards

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>
include/linux/mm.h
mm/memory.c
mm/mmap.c