These changes are the raw update to linux-4.4.6-rt14. Kernel sources
[kvmfornfv.git] / kernel / tools / testing / selftests / rcutorture / doc / TREE_RCU-kconfig.txt
1 This document gives a brief rationale for the TREE_RCU-related test
2 cases, a group that includes PREEMPT_RCU.
3
4
5 Kconfig Parameters:
6
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_RCU_BOOST -- one of PREEMPT_RCU.
18 CONFIG_RCU_KTHREAD_PRIO -- set to 2 for _BOOST testing.
19 CONFIG_RCU_FANOUT -- Cover hierarchy, but overlap with others.
20 CONFIG_RCU_FANOUT_LEAF -- Do one non-default.
21 CONFIG_RCU_FAST_NO_HZ -- Do one, but not with CONFIG_RCU_NOCB_CPU_ALL.
22 CONFIG_RCU_NOCB_CPU -- Do three, see below.
23 CONFIG_RCU_NOCB_CPU_ALL -- Do one.
24 CONFIG_RCU_NOCB_CPU_NONE -- Do one.
25 CONFIG_RCU_NOCB_CPU_ZERO -- Do one.
26 CONFIG_RCU_TRACE -- Do half.
27 CONFIG_SMP -- Need one !SMP for PREEMPT_RCU.
28 !RCU_EXPERT -- Do a few, but these have to be vanilla configurations.
29 RCU-bh: Do one with PREEMPT and one with !PREEMPT.
30 RCU-sched: Do one with PREEMPT but not BOOST.
31
32
33 Boot parameters:
34
35 nohz_full - do at least one.
36 maxcpu -- do at least one.
37 rcupdate.rcu_self_test_bh -- Do at least one each, offloaded and not.
38 rcupdate.rcu_self_test_sched -- Do at least one each, offloaded and not.
39 rcupdate.rcu_self_test -- Do at least one each, offloaded and not.
40 rcutree.rcu_fanout_exact -- Do at least one.
41
42
43 Kconfig Parameters Ignored:
44
45 CONFIG_64BIT
46
47         Used only to check CONFIG_RCU_FANOUT value, inspection suffices.
48
49 CONFIG_NO_HZ_FULL_SYSIDLE_SMALL
50
51         Defer until Frederic uses this.
52
53 CONFIG_PREEMPT_COUNT
54 CONFIG_PREEMPT_RCU
55
56         Redundant with CONFIG_PREEMPT, ignore.
57
58 CONFIG_RCU_BOOST_DELAY
59
60         Inspection suffices, ignore.
61
62 CONFIG_RCU_CPU_STALL_TIMEOUT
63
64         Inspection suffices, ignore.
65
66 CONFIG_RCU_STALL_COMMON
67
68         Implied by TREE_RCU and PREEMPT_RCU.
69
70 CONFIG_RCU_TORTURE_TEST
71 CONFIG_RCU_TORTURE_TEST_RUNNABLE
72
73         Always used in KVM testing.
74
75 CONFIG_RCU_USER_QS
76
77         Redundant with CONFIG_NO_HZ_FULL.
78
79 CONFIG_PREEMPT_RCU
80 CONFIG_TREE_RCU
81
82         These are controlled by CONFIG_PREEMPT.