Kconfig.debug 513 B

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