]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/blobdiff - arch/xtensa/Kconfig.debug
Merge tag 'drivers-for-3.16' of git://git.kernel.org/pub/scm/linux/kernel/git/arm...
[mirror_ubuntu-zesty-kernel.git] / arch / xtensa / Kconfig.debug
index a34010e0e51c3fcfece542266886ced6563a47eb..af7da74d535f1870c8c266c2caf6d6fa1f2b79c5 100644 (file)
@@ -2,6 +2,16 @@ menu "Kernel hacking"
 
 source "lib/Kconfig.debug"
 
+config DEBUG_TLB_SANITY
+       bool "Debug TLB sanity"
+       depends on DEBUG_KERNEL
+       help
+         Enable this to turn on TLB sanity check on each entry to userspace.
+         This check can spot missing TLB invalidation/wrong PTE permissions/
+         premature page freeing.
+
+         If unsure, say N.
+
 config LD_NO_RELAX
        bool "Disable linker relaxation"
        default n