]> git.karo-electronics.de Git - karo-tx-linux.git/commit
x86: HUGETLBFS and DEBUG_PAGEALLOC are incompatible
authorKen Chen <kenneth.w.chen@intel.com>
Thu, 18 Oct 2007 23:59:17 +0000 (01:59 +0200)
committerAdrian Bunk <bunk@kernel.org>
Thu, 18 Oct 2007 23:59:17 +0000 (01:59 +0200)
commita5cfb0763d650c4d5b801338136ea64746d807f8
treed1d94edb94b6b2a0fdee44695d8dc40a79392d01
parentf7ce644b409f1b28648ac457dd9545f93bff37f7
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>
Signed-off-by: Adrian Bunk <bunk@kernel.org>
arch/i386/Kconfig.debug