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, 20 Aug 2010 18:25:11 +0000 (11:25 -0700)
commitb522544929b78f2a2a304b1b7c907f28c6f5dcdb
tree2cb7467fa3f4d2ddbbab809aca6415a346a871ec
parent7a9f6ef422319833b02c26aa57b51f837c372f16
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