X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=arch%2Fx86%2FKconfig.debug;h=7ce8e702566182320554e82c52f87d9dfe97bf1a;hb=fe770bf0310d90b3b033c19044d45b7de5f2041c;hp=702eb39901ca3ee987f0adeb81f7d38567ba8c93;hpb=b23c9cc0ce652089a2f0af8c7f1541f10dc9b5db;p=linux-2.6 diff --git a/arch/x86/Kconfig.debug b/arch/x86/Kconfig.debug index 702eb39901..7ce8e70256 100644 --- a/arch/x86/Kconfig.debug +++ b/arch/x86/Kconfig.debug @@ -54,6 +54,18 @@ config DEBUG_PER_CPU_MAPS Say N if unsure. +config X86_PTDUMP + bool "Export kernel pagetable layout to userspace via debugfs" + depends on DEBUG_KERNEL + select DEBUG_FS + help + Say Y here if you want to show the kernel pagetable layout in a + debugfs file. This information is only useful for kernel developers + who are working in architecture specific areas of the kernel. + It is probably not a good idea to enable this feature in a production + kernel. + If in doubt, say "N" + config DEBUG_RODATA bool "Write protect kernel read-only data structures" default y