]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
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)
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

index bf32ecc9ad04908bf20e6b1f76d3250a02aeada6..e572993596ea1a8931ced3ffd5e4a450bd4467e9 100644 (file)
@@ -36,7 +36,7 @@ comment "Page alloc debug is incompatible with Software Suspend on i386"
 
 config DEBUG_PAGEALLOC
        bool "Page alloc debugging"
-       depends on DEBUG_KERNEL && !SOFTWARE_SUSPEND
+       depends on DEBUG_KERNEL && !SOFTWARE_SUSPEND && !HUGETLBFS
        help
          Unmap pages from the kernel linear mapping after free_pages().
          This results in a large slowdown, but helps to find certain types