diff options
Diffstat (limited to 'lib/Kconfig.debug')
-rw-r--r-- | lib/Kconfig.debug | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug index e85d549b6eac..21ac83070a80 100644 --- a/lib/Kconfig.debug +++ b/lib/Kconfig.debug | |||
@@ -540,6 +540,23 @@ config PROVE_RCU_REPEATEDLY | |||
540 | disabling, allowing multiple RCU-lockdep warnings to be printed | 540 | disabling, allowing multiple RCU-lockdep warnings to be printed |
541 | on a single reboot. | 541 | on a single reboot. |
542 | 542 | ||
543 | Say Y to allow multiple RCU-lockdep warnings per boot. | ||
544 | |||
545 | Say N if you are unsure. | ||
546 | |||
547 | config SPARSE_RCU_POINTER | ||
548 | bool "RCU debugging: sparse-based checks for pointer usage" | ||
549 | default n | ||
550 | help | ||
551 | This feature enables the __rcu sparse annotation for | ||
552 | RCU-protected pointers. This annotation will cause sparse | ||
553 | to flag any non-RCU used of annotated pointers. This can be | ||
554 | helpful when debugging RCU usage. Please note that this feature | ||
555 | is not intended to enforce code cleanliness; it is instead merely | ||
556 | a debugging aid. | ||
557 | |||
558 | Say Y to make sparse flag questionable use of RCU-protected pointers | ||
559 | |||
543 | Say N if you are unsure. | 560 | Say N if you are unsure. |
544 | 561 | ||
545 | config LOCKDEP | 562 | config LOCKDEP |
@@ -832,6 +849,30 @@ config RCU_CPU_STALL_DETECTOR | |||
832 | 849 | ||
833 | Say Y if you are unsure. | 850 | Say Y if you are unsure. |
834 | 851 | ||
852 | config RCU_CPU_STALL_TIMEOUT | ||
853 | int "RCU CPU stall timeout in seconds" | ||
854 | depends on RCU_CPU_STALL_DETECTOR | ||
855 | range 3 300 | ||
856 | default 60 | ||
857 | help | ||
858 | If a given RCU grace period extends more than the specified | ||
859 | number of seconds, a CPU stall warning is printed. If the | ||
860 | RCU grace period persists, additional CPU stall warnings are | ||
861 | printed at more widely spaced intervals. | ||
862 | |||
863 | config RCU_CPU_STALL_DETECTOR_RUNNABLE | ||
864 | bool "RCU CPU stall checking starts automatically at boot" | ||
865 | depends on RCU_CPU_STALL_DETECTOR | ||
866 | default y | ||
867 | help | ||
868 | If set, start checking for RCU CPU stalls immediately on | ||
869 | boot. Otherwise, RCU CPU stall checking must be manually | ||
870 | enabled. | ||
871 | |||
872 | Say Y if you are unsure. | ||
873 | |||
874 | Say N if you wish to suppress RCU CPU stall checking during boot. | ||
875 | |||
835 | config RCU_CPU_STALL_VERBOSE | 876 | config RCU_CPU_STALL_VERBOSE |
836 | bool "Print additional per-task information for RCU_CPU_STALL_DETECTOR" | 877 | bool "Print additional per-task information for RCU_CPU_STALL_DETECTOR" |
837 | depends on RCU_CPU_STALL_DETECTOR && TREE_PREEMPT_RCU | 878 | depends on RCU_CPU_STALL_DETECTOR && TREE_PREEMPT_RCU |