1 This document gives a brief rationale for the TREE_RCU-related test
2 cases, a group that includes PREEMPT_RCU.
7 CONFIG_DEBUG_LOCK_ALLOC -- Do three, covering CONFIG_PROVE_LOCKING & not.
8 CONFIG_DEBUG_OBJECTS_RCU_HEAD -- Do one.
9 CONFIG_HOTPLUG_CPU -- Do half. (Every second.)
10 CONFIG_HZ_PERIODIC -- Do one.
11 CONFIG_NO_HZ_IDLE -- Do those not otherwise specified. (Groups of two.)
12 CONFIG_NO_HZ_FULL -- Do two, one with CONFIG_NO_HZ_FULL_SYSIDLE.
13 CONFIG_NO_HZ_FULL_SYSIDLE -- Do one.
14 CONFIG_PREEMPT -- Do half. (First three and #8.)
15 CONFIG_PROVE_LOCKING -- Do several, covering CONFIG_DEBUG_LOCK_ALLOC=y and not.
16 CONFIG_PROVE_RCU -- Hardwired to CONFIG_PROVE_LOCKING.
17 CONFIG_PROVE_RCU_REPEATEDLY -- Do one.
18 CONFIG_RCU_BOOST -- one of PREEMPT_RCU.
19 CONFIG_RCU_KTHREAD_PRIO -- set to 2 for _BOOST testing.
20 CONFIG_RCU_FANOUT -- Cover hierarchy, but overlap with others.
21 CONFIG_RCU_FANOUT_LEAF -- Do one non-default.
22 CONFIG_RCU_FAST_NO_HZ -- Do one, but not with CONFIG_RCU_NOCB_CPU_ALL.
23 CONFIG_RCU_NOCB_CPU -- Do three, see below.
24 CONFIG_RCU_NOCB_CPU_ALL -- Do one.
25 CONFIG_RCU_NOCB_CPU_NONE -- Do one.
26 CONFIG_RCU_NOCB_CPU_ZERO -- Do one.
27 CONFIG_RCU_TRACE -- Do half.
28 CONFIG_SMP -- Need one !SMP for PREEMPT_RCU.
29 CONFIG_RCU_EXPERT=n -- Do a few, but these have to be vanilla configurations.
30 CONFIG_RCU_EQS_DEBUG -- Do at least one for CONFIG_NO_HZ_FULL and not.
31 CONFIG_RCU_TORTURE_TEST_SLOW_CLEANUP -- Do for all but a couple TREE scenarios.
32 CONFIG_RCU_TORTURE_TEST_SLOW_INIT -- Do for all but a couple TREE scenarios.
33 CONFIG_RCU_TORTURE_TEST_SLOW_PREINIT -- Do for all but a couple TREE scenarios.
35 RCU-bh: Do one with PREEMPT and one with !PREEMPT.
36 RCU-sched: Do one with PREEMPT but not BOOST.
41 nohz_full - do at least one.
42 maxcpu -- do at least one.
43 rcupdate.rcu_self_test_bh -- Do at least one each, offloaded and not.
44 rcupdate.rcu_self_test_sched -- Do at least one each, offloaded and not.
45 rcupdate.rcu_self_test -- Do at least one each, offloaded and not.
46 rcutree.rcu_fanout_exact -- Do at least one.
49 Kconfig Parameters Ignored:
53 Used only to check CONFIG_RCU_FANOUT value, inspection suffices.
55 CONFIG_NO_HZ_FULL_SYSIDLE_SMALL
57 Defer until Frederic uses this.
62 Redundant with CONFIG_PREEMPT, ignore.
64 CONFIG_RCU_BOOST_DELAY
66 Inspection suffices, ignore.
68 CONFIG_RCU_CPU_STALL_TIMEOUT
70 Inspection suffices, ignore.
72 CONFIG_RCU_STALL_COMMON
74 Implied by TREE_RCU and PREEMPT_RCU.
76 CONFIG_RCU_TORTURE_TEST
77 CONFIG_RCU_TORTURE_TEST_RUNNABLE
79 Always used in KVM testing.
81 CONFIG_RCU_TORTURE_TEST_SLOW_PREINIT_DELAY
82 CONFIG_RCU_TORTURE_TEST_SLOW_INIT_DELAY
83 CONFIG_RCU_TORTURE_TEST_SLOW_CLEANUP_DELAY
85 Inspection suffices, ignore.
91 These are controlled by CONFIG_PREEMPT and/or CONFIG_SMP.
93 CONFIG_SPARSE_RCU_POINTER
95 Makes sense only for sparse runs, not for kernel builds.
100 Selected by CONFIG_RCU_TORTURE_TEST, so cannot disable.
104 Implied by CONFIG_RCU_TRACE for Tree RCU.
107 boot parameters ignored: TBD