]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
thp: add debug checks for mapcount related invariants
authorAndrea Arcangeli <aarcange@redhat.com>
Thu, 13 Jan 2011 23:47:15 +0000 (15:47 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 14 Jan 2011 01:32:47 +0000 (17:32 -0800)
commit14d1a55cd26f1860f837f37ae42520c7c13b1347
treeb80634a6a2a5f306fd1c3fc408993dd9fc98202b
parent05b258e99725112c4febeab4fad23ea2c8908a3a
thp: add debug checks for mapcount related invariants

Add debug checks for invariants that if broken could lead to mapcount vs
page_mapcount debug checks to trigger later in split_huge_page.

Signed-off-by: Andrea Arcangeli <aarcange@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/memory.c