Commit 11201e60 authored by Ingo Molnar's avatar Ingo Molnar

x86: fix DEBUG_RODATA kconfig text

fix kconfig text and make DEBUG_RODATA default.

this helps debugging quite a bit.
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
parent 8a45eb31
...@@ -61,13 +61,13 @@ config DEBUG_PER_CPU_MAPS ...@@ -61,13 +61,13 @@ config DEBUG_PER_CPU_MAPS
config DEBUG_RODATA config DEBUG_RODATA
bool "Write protect kernel read-only data structures" bool "Write protect kernel read-only data structures"
default y
depends on DEBUG_KERNEL depends on DEBUG_KERNEL
help help
Mark the kernel read-only data as write-protected in the pagetables, Mark the kernel read-only data as write-protected in the pagetables,
in order to catch accidental (and incorrect) writes to such const in order to catch accidental (and incorrect) writes to such const
data. This option may have a slight performance impact because a data. This is recommended so that we can catch kernel bugs sooner.
portion of the kernel code won't be covered by a 2MB TLB anymore. If in doubt, say "Y".
If in doubt, say "N".
config 4KSTACKS config 4KSTACKS
bool "Use 4Kb for kernel stacks instead of 8Kb" bool "Use 4Kb for kernel stacks instead of 8Kb"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment