diff options
Diffstat (limited to 'lib/Kconfig.debug')
-rw-r--r-- | lib/Kconfig.debug | 32 |
1 files changed, 31 insertions, 1 deletions
diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug index d5ca9a5a31c6..d57b12f59c8c 100644 --- a/lib/Kconfig.debug +++ b/lib/Kconfig.debug | |||
@@ -653,6 +653,21 @@ config DEBUG_NOTIFIERS | |||
653 | This is a relatively cheap check but if you care about maximum | 653 | This is a relatively cheap check but if you care about maximum |
654 | performance, say N. | 654 | performance, say N. |
655 | 655 | ||
656 | config DEBUG_CREDENTIALS | ||
657 | bool "Debug credential management" | ||
658 | depends on DEBUG_KERNEL | ||
659 | help | ||
660 | Enable this to turn on some debug checking for credential | ||
661 | management. The additional code keeps track of the number of | ||
662 | pointers from task_structs to any given cred struct, and checks to | ||
663 | see that this number never exceeds the usage count of the cred | ||
664 | struct. | ||
665 | |||
666 | Furthermore, if SELinux is enabled, this also checks that the | ||
667 | security pointer in the cred struct is never seen to be invalid. | ||
668 | |||
669 | If unsure, say N. | ||
670 | |||
656 | # | 671 | # |
657 | # Select this config option from the architecture Kconfig, if it | 672 | # Select this config option from the architecture Kconfig, if it |
658 | # it is preferred to always offer frame pointers as a config | 673 | # it is preferred to always offer frame pointers as a config |
@@ -725,7 +740,7 @@ config RCU_TORTURE_TEST_RUNNABLE | |||
725 | 740 | ||
726 | config RCU_CPU_STALL_DETECTOR | 741 | config RCU_CPU_STALL_DETECTOR |
727 | bool "Check for stalled CPUs delaying RCU grace periods" | 742 | bool "Check for stalled CPUs delaying RCU grace periods" |
728 | depends on CLASSIC_RCU || TREE_RCU | 743 | depends on TREE_RCU || TREE_PREEMPT_RCU |
729 | default n | 744 | default n |
730 | help | 745 | help |
731 | This option causes RCU to printk information on which | 746 | This option causes RCU to printk information on which |
@@ -790,6 +805,21 @@ config DEBUG_BLOCK_EXT_DEVT | |||
790 | 805 | ||
791 | Say N if you are unsure. | 806 | Say N if you are unsure. |
792 | 807 | ||
808 | config DEBUG_FORCE_WEAK_PER_CPU | ||
809 | bool "Force weak per-cpu definitions" | ||
810 | depends on DEBUG_KERNEL | ||
811 | help | ||
812 | s390 and alpha require percpu variables in modules to be | ||
813 | defined weak to work around addressing range issue which | ||
814 | puts the following two restrictions on percpu variable | ||
815 | definitions. | ||
816 | |||
817 | 1. percpu symbols must be unique whether static or not | ||
818 | 2. percpu variables can't be defined inside a function | ||
819 | |||
820 | To ensure that generic code follows the above rules, this | ||
821 | option forces all percpu variables to be defined as weak. | ||
822 | |||
793 | config LKDTM | 823 | config LKDTM |
794 | tristate "Linux Kernel Dump Test Tool Module" | 824 | tristate "Linux Kernel Dump Test Tool Module" |
795 | depends on DEBUG_KERNEL | 825 | depends on DEBUG_KERNEL |