aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/Kconfig.debug13
1 files changed, 13 insertions, 0 deletions
diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug
index 1b4afd2e6ca0..12465f2ef766 100644
--- a/lib/Kconfig.debug
+++ b/lib/Kconfig.debug
@@ -539,6 +539,19 @@ config PROVE_RCU_REPEATEDLY
539 disabling, allowing multiple RCU-lockdep warnings to be printed 539 disabling, allowing multiple RCU-lockdep warnings to be printed
540 on a single reboot. 540 on a single reboot.
541 541
542config SPARSE_RCU_POINTER
543 bool "RCU debugging: sparse-based checks for pointer usage"
544 default n
545 help
546 This feature enables the __rcu sparse annotation for
547 RCU-protected pointers. This annotation will cause sparse
548 to flag any non-RCU used of annotated pointers. This can be
549 helpful when debugging RCU usage. Please note that this feature
550 is not intended to enforce code cleanliness; it is instead merely
551 a debugging aid.
552
553 Say Y to make sparse flag questionable use of RCU-protected pointers
554
542 Say N if you are unsure. 555 Say N if you are unsure.
543 556
544config LOCKDEP 557config LOCKDEP