thp: pmd_trans_huge migrate bugcheck
authorAndrea Arcangeli <aarcange@redhat.com>
Thu, 13 Jan 2011 23:46:55 +0000 (15:46 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 14 Jan 2011 01:32:42 +0000 (17:32 -0800)
commit500d65d471018d9a13b0d51b7e141ed2a3555c1d
tree046dc2337f87a1a365fde126fab7f4ac9ae82793
parent0af4e98b6b095c74588af04872f83d333c958c32
thp: pmd_trans_huge migrate bugcheck

No pmd_trans_huge should ever materialize in migration ptes areas, because
we split the hugepage before migration ptes are instantiated.

Signed-off-by: Andrea Arcangeli <aarcange@redhat.com>
Acked-by: Rik van Riel <riel@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/mm.h
mm/memory.c
mm/migrate.c