Kconfig.debug 573 B

1234567891011121314151617181920
  1. menu "Kernel hacking"
  2. source "lib/Kconfig.debug"
  3. config TRACE_IRQFLAGS_SUPPORT
  4. def_bool y
  5. config DEBUG_RODATA
  6. bool "Write protect kernel read-only data structures"
  7. depends on DEBUG_KERNEL
  8. default y
  9. help
  10. Mark the kernel read-only data as write-protected in the pagetables,
  11. in order to catch accidental (and incorrect) writes to such const
  12. data. This option may have a slight performance impact because a
  13. portion of the kernel code won't be covered by a TLB anymore.
  14. If in doubt, say "N".
  15. endmenu