thp: verify pmd_trans_huge isn't leaking
authorAndrea Arcangeli <aarcange@redhat.com>
Thu, 13 Jan 2011 23:46:54 +0000 (15:46 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 14 Jan 2011 01:32:42 +0000 (17:32 -0800)
commitf66055ab6fb9731dbfce320c5202ef4441b5d77f
treede347e42d1e5cf481344a153d272e86a95b774f4
parent05759d380a9d7f131a475186c07fce58ceaa8902
thp: verify pmd_trans_huge isn't leaking

pte_trans_huge must not leak in certain vmas like the mmio special pfn or
filebacked mappings.

Signed-off-by: Andrea Arcangeli <aarcange@redhat.com>
Acked-by: Rik van Riel <riel@redhat.com>
Acked-by: Mel Gorman <mel@csn.ul.ie>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/memory.c