[PATCH] x86: HUGETLBFS and DEBUG_PAGEALLOC are incompatible
authorChen, Kenneth W <kenneth.w.chen@intel.com>
Sat, 25 Mar 2006 11:06:50 +0000 (03:06 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Sat, 25 Mar 2006 16:22:50 +0000 (08:22 -0800)
commita7d06ca7b626c9257bee4439d9d80a7e44ae237e
tree1951ab3f604771885987b46d8858711a4d3ddf88
parentd3f4aaa3d7b4152dac28751ee902f769d03289a1
[PATCH] x86: HUGETLBFS and DEBUG_PAGEALLOC are incompatible

DEBUG_PAGEALLOC is not compatible with hugetlb page support.  That debug
option turns off PSE.  Once it is turned off in CR4, the cpu will ignore
pse bit in the pmd and causing infinite page-not- present faults.

So disable DEBUG_PAGEALLOC if the user selected hugetlbfs.

Signed-off-by: Ken Chen <kenneth.w.chen@intel.com>
Cc: <stable@kernel.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/i386/Kconfig.debug