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 all but two, covering CONFIG_PROVE_RCU and not.
16 CONFIG_PROVE_RCU -- Do all but one under CONFIG_PROVE_LOCKING.
17 CONFIG_RCU_BOOST -- one of PREEMPT_RCU.
18 CONFIG_RCU_KTHREAD_PRIO -- set to 2 for _BOOST testing.
19 CONFIG_RCU_CPU_STALL_INFO -- Do one.
20 CONFIG_RCU_FANOUT -- Cover hierarchy as currently, but overlap with others.
21 CONFIG_RCU_FANOUT_EXACT -- Do one.
22 CONFIG_RCU_FANOUT_LEAF -- Do one non-default.
23 CONFIG_RCU_FAST_NO_HZ -- Do one, but not with CONFIG_RCU_NOCB_CPU_ALL.
24 CONFIG_RCU_NOCB_CPU -- Do three, see below.
25 CONFIG_RCU_NOCB_CPU_ALL -- Do one.
26 CONFIG_RCU_NOCB_CPU_NONE -- Do one.
27 CONFIG_RCU_NOCB_CPU_ZERO -- Do one.
28 CONFIG_RCU_TRACE -- Do half.
29 CONFIG_SMP -- Need one !SMP for PREEMPT_RCU.
30 RCU-bh: Do one with PREEMPT and one with !PREEMPT.
31 RCU-sched: Do one with PREEMPT but not BOOST.
36 TREE01. CONFIG_NR_CPUS=8, CONFIG_RCU_FANOUT=8, CONFIG_RCU_FANOUT_EXACT=n.
37 TREE02. CONFIG_NR_CPUS=8, CONFIG_RCU_FANOUT=3, CONFIG_RCU_FANOUT_EXACT=n,
38 CONFIG_RCU_FANOUT_LEAF=3.
39 TREE03. CONFIG_NR_CPUS=8, CONFIG_RCU_FANOUT=4, CONFIG_RCU_FANOUT_EXACT=n,
40 CONFIG_RCU_FANOUT_LEAF=4.
41 TREE04. CONFIG_NR_CPUS=8, CONFIG_RCU_FANOUT=2, CONFIG_RCU_FANOUT_EXACT=n,
42 CONFIG_RCU_FANOUT_LEAF=2.
43 TREE05. CONFIG_NR_CPUS=8, CONFIG_RCU_FANOUT=6, CONFIG_RCU_FANOUT_EXACT=n
44 CONFIG_RCU_FANOUT_LEAF=6.
45 TREE06. CONFIG_NR_CPUS=8, CONFIG_RCU_FANOUT=6, CONFIG_RCU_FANOUT_EXACT=y
46 CONFIG_RCU_FANOUT_LEAF=6.
47 TREE07. CONFIG_NR_CPUS=16, CONFIG_RCU_FANOUT=2, CONFIG_RCU_FANOUT_EXACT=n,
48 CONFIG_RCU_FANOUT_LEAF=2.
49 TREE08. CONFIG_NR_CPUS=16, CONFIG_RCU_FANOUT=3, CONFIG_RCU_FANOUT_EXACT=y,
50 CONFIG_RCU_FANOUT_LEAF=2.
51 TREE09. CONFIG_NR_CPUS=1.
54 Kconfig Parameters Ignored:
58 Used only to check CONFIG_RCU_FANOUT value, inspection suffices.
60 CONFIG_NO_HZ_FULL_SYSIDLE_SMALL
62 Defer until Frederic uses this.
67 Redundant with CONFIG_PREEMPT, ignore.
69 CONFIG_RCU_BOOST_DELAY
71 Inspection suffices, ignore.
73 CONFIG_RCU_CPU_STALL_TIMEOUT
75 Inspection suffices, ignore.
77 CONFIG_RCU_STALL_COMMON
79 Implied by TREE_RCU and PREEMPT_RCU.
81 CONFIG_RCU_TORTURE_TEST
82 CONFIG_RCU_TORTURE_TEST_RUNNABLE
84 Always used in KVM testing.
88 Redundant with CONFIG_NO_HZ_FULL.
93 These are controlled by CONFIG_PREEMPT.