From: Dave Hansen Date: Thu, 12 Jun 2008 22:21:48 +0000 (-0700) Subject: pagemap: fix large pages in pagemap X-Git-Tag: v2.6.26-rc7~49 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bcf8039ed45f56013c4afea5520bca7d909e5e61;p=pandora-kernel.git 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 Acked-by: Matt Mackall Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed