xref: /linux/arch/parisc/Kconfig.debug (revision de2fe5e07d58424bc286fff3fd3c1b0bf933cd58)
1menu "Kernel hacking"
2
3source "lib/Kconfig.debug"
4
5config DEBUG_RWLOCK
6        bool "Read-write spinlock debugging"
7        depends on DEBUG_KERNEL && SMP
8        help
9          If you say Y here then read-write lock processing will count how many
10          times it has tried to get the lock and issue an error message after
11          too many attempts.  If you suspect a rwlock problem or a kernel
12          hacker asks for this option then say Y.  Otherwise say N.
13
14config DEBUG_RODATA
15       bool "Write protect kernel read-only data structures"
16       depends on DEBUG_KERNEL
17       help
18         Mark the kernel read-only data as write-protected in the pagetables,
19         in order to catch accidental (and incorrect) writes to such const
20         data. This option may have a slight performance impact because a
21         portion of the kernel code won't be covered by a TLB anymore.
22         If in doubt, say "N".
23
24endmenu
25