OSDN Git Service

mm: fix missing page table unmap for stack guard page failure case
authorLinus Torvalds <torvalds@linux-foundation.org>
Fri, 13 Aug 2010 16:24:04 +0000 (09:24 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 13 Aug 2010 20:31:09 +0000 (13:31 -0700)
commit3aba3fa070fc0f38de2d41252aee9ff17d2de984
tree6b349e4360e8079cb8e6317f025c81601311e6a5
parent52423b90e1f5b1bdbbcc6e32f4d37ada29b790c4
mm: fix missing page table unmap for stack guard page failure case

commit 5528f9132cf65d4d892bcbc5684c61e7822b21e9 upstream.

.. which didn't show up in my tests because it's a no-op on x86-64 and
most other architectures.  But we enter the function with the last-level
page table mapped, and should unmap it at exit.

Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
mm/memory.c