diff options
author | Adam Litke <agl@us.ibm.com> | 2007-01-30 14:35:39 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-01-30 16:01:35 -0800 |
commit | 0d59a01bc461bbab4017ff449b8401151ef44cf6 (patch) | |
tree | ec388c127883f8dddde3a933eac44a45aca6520c /scripts | |
parent | bcdddfb66cc998252d34758ce4109cedc0d24a5c (diff) | |
download | linux-0d59a01bc461bbab4017ff449b8401151ef44cf6.tar.gz linux-0d59a01bc461bbab4017ff449b8401151ef44cf6.tar.bz2 linux-0d59a01bc461bbab4017ff449b8401151ef44cf6.zip |
[PATCH] Don't allow the stack to grow into hugetlb reserved regions
When expanding the stack, we don't currently check if the VMA will cross
into an area of the address space that is reserved for hugetlb pages.
Subsequent faults on the expanded portion of such a VMA will confuse the
low-level MMU code, resulting in an OOPS. Check for this.
Signed-off-by: Adam Litke <agl@us.ibm.com>
Cc: David Gibson <david@gibson.dropbear.id.au>
Cc: William Lee Irwin III <wli@holomorphy.com>
Cc: Hugh Dickins <hugh@veritas.com>
Cc: <stable@kernel.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions