From: Paul E. McKenney Date: Sat, 25 Nov 2023 00:29:01 +0000 (-0800) Subject: doc: Add CONFIG_RCU_STRICT_GRACE_PERIOD to checklist.rst X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=739337d482f12b9eff062586ba64f008fcc6efba;p=linux.git doc: Add CONFIG_RCU_STRICT_GRACE_PERIOD to checklist.rst This commit adds CONFIG_RCU_STRICT_GRACE_PERIOD to the list of debugging Kconfig options in checklist.rst. Signed-off-by: Paul E. McKenney Signed-off-by: Boqun Feng --- diff --git a/Documentation/RCU/checklist.rst b/Documentation/RCU/checklist.rst index 98a622f772481..addd5c1547a42 100644 --- a/Documentation/RCU/checklist.rst +++ b/Documentation/RCU/checklist.rst @@ -491,6 +491,12 @@ over a rather long period of time, but improvements are always welcome! since the last time that you passed that same object to call_rcu() (or friends). + CONFIG_RCU_STRICT_GRACE_PERIOD: + combine with KASAN to check for pointers leaked out + of RCU read-side critical sections. This Kconfig + option is tough on both performance and scalability, + and so is limited to four-CPU systems. + __rcu sparse checks: tag the pointer to the RCU-protected data structure with __rcu, and sparse will warn you if you access that