summaryrefslogtreecommitdiffstats
path: root/ipc/shm.c
diff options
context:
space:
mode:
authorDave Hansen <dave@linux.vnet.ibm.com>2008-06-13 00:21:48 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2008-06-13 03:05:41 +0200
commitbcf8039ed45f56013c4afea5520bca7d909e5e61 (patch)
tree2c3348eb300fdd910df9e012882bd3d2f263a390 /ipc/shm.c
parentpagemap: pass mm into pagewalkers (diff)
downloadlinux-bcf8039ed45f56013c4afea5520bca7d909e5e61.tar.xz
linux-bcf8039ed45f56013c4afea5520bca7d909e5e61.zip
pagemap: fix large pages in pagemap
We were walking right into huge page areas in the pagemap walker, and calling the pmds pmd_bad() and clearing them. That leaked huge pages. Bad. This patch at least works around that for now. It ignores huge pages in the pagemap walker for the time being, and won't leak those pages. Signed-off-by: Dave Hansen <dave@linux.vnet.ibm.com> Acked-by: Matt Mackall <mpm@selenic.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'ipc/shm.c')
0 files changed, 0 insertions, 0 deletions