Kconfig.debug 850 B

1234567891011121314151617181920212223242526
  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
  13. config DEBUG_STACKOVERFLOW
  14. bool "Check for stack overflows"
  15. default y
  16. depends on DEBUG_KERNEL
  17. ---help---
  18. Say Y here if you want to check the overflows of kernel, IRQ
  19. and exception stacks. This option will cause messages of the
  20. stacks in detail when free stack space drops below a certain
  21. limit.
  22. If in doubt, say "N".