Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+3 −3
Original line number Original line Diff line number Diff line
@@ -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"