Pull sem2mutex-ioc4 into release branch
[sfrench/cifs-2.6.git] / arch / parisc / Kconfig.debug
1 menu "Kernel hacking"
2
3 source "lib/Kconfig.debug"
4
5 config 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
14 config 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
24 endmenu