summaryrefslogtreecommitdiffstats
path: root/ipc/shm.c
diff options
context:
space:
mode:
authorDave Hansen <dave@linux.vnet.ibm.com>2008-06-12 15:21:48 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2008-06-12 18:05:41 -0700
commitbcf8039ed45f56013c4afea5520bca7d909e5e61 (patch)
tree2c3348eb300fdd910df9e012882bd3d2f263a390 /ipc/shm.c
parent2165009bdf63f79716a36ad545df14c3cdf958b7 (diff)
downloadlinux-bcf8039ed45f56013c4afea5520bca7d909e5e61.tar.gz
linux-bcf8039ed45f56013c4afea5520bca7d909e5e61.tar.bz2
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