diff options
author | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2016-11-08 19:54:08 -0500 |
---|---|---|
committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2017-01-15 00:35:59 -0500 |
commit | b1c14a39adcf2237f31bcd0cd858bed5c54f2aee (patch) | |
tree | da0750ac463cef0573c91e7eac30d073e6d73957 /tools | |
parent | c31db96f56bf11eb37cdbd38162c2391dc9b3d32 (diff) |
torture: Update RCU test scenario documentation
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Reviewed-by: Josh Triplett <josh@joshtriplett.org>
Diffstat (limited to 'tools')
-rw-r--r-- | tools/testing/selftests/rcutorture/doc/TREE_RCU-kconfig.txt | 33 |
1 files changed, 31 insertions, 2 deletions
diff --git a/tools/testing/selftests/rcutorture/doc/TREE_RCU-kconfig.txt b/tools/testing/selftests/rcutorture/doc/TREE_RCU-kconfig.txt index 4e2b1893d40d..364801b1a230 100644 --- a/tools/testing/selftests/rcutorture/doc/TREE_RCU-kconfig.txt +++ b/tools/testing/selftests/rcutorture/doc/TREE_RCU-kconfig.txt | |||
@@ -14,6 +14,7 @@ CONFIG_NO_HZ_FULL_SYSIDLE -- Do one. | |||
14 | CONFIG_PREEMPT -- Do half. (First three and #8.) | 14 | CONFIG_PREEMPT -- Do half. (First three and #8.) |
15 | CONFIG_PROVE_LOCKING -- Do several, covering CONFIG_DEBUG_LOCK_ALLOC=y and not. | 15 | CONFIG_PROVE_LOCKING -- Do several, covering CONFIG_DEBUG_LOCK_ALLOC=y and not. |
16 | CONFIG_PROVE_RCU -- Hardwired to CONFIG_PROVE_LOCKING. | 16 | CONFIG_PROVE_RCU -- Hardwired to CONFIG_PROVE_LOCKING. |
17 | CONFIG_PROVE_RCU_REPEATEDLY -- Do one. | ||
17 | CONFIG_RCU_BOOST -- one of PREEMPT_RCU. | 18 | CONFIG_RCU_BOOST -- one of PREEMPT_RCU. |
18 | CONFIG_RCU_KTHREAD_PRIO -- set to 2 for _BOOST testing. | 19 | CONFIG_RCU_KTHREAD_PRIO -- set to 2 for _BOOST testing. |
19 | CONFIG_RCU_FANOUT -- Cover hierarchy, but overlap with others. | 20 | CONFIG_RCU_FANOUT -- Cover hierarchy, but overlap with others. |
@@ -25,7 +26,12 @@ CONFIG_RCU_NOCB_CPU_NONE -- Do one. | |||
25 | CONFIG_RCU_NOCB_CPU_ZERO -- Do one. | 26 | CONFIG_RCU_NOCB_CPU_ZERO -- Do one. |
26 | CONFIG_RCU_TRACE -- Do half. | 27 | CONFIG_RCU_TRACE -- Do half. |
27 | CONFIG_SMP -- Need one !SMP for PREEMPT_RCU. | 28 | CONFIG_SMP -- Need one !SMP for PREEMPT_RCU. |
28 | !RCU_EXPERT -- Do a few, but these have to be vanilla configurations. | 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. | ||
34 | |||
29 | RCU-bh: Do one with PREEMPT and one with !PREEMPT. | 35 | RCU-bh: Do one with PREEMPT and one with !PREEMPT. |
30 | RCU-sched: Do one with PREEMPT but not BOOST. | 36 | RCU-sched: Do one with PREEMPT but not BOOST. |
31 | 37 | ||
@@ -72,7 +78,30 @@ CONFIG_RCU_TORTURE_TEST_RUNNABLE | |||
72 | 78 | ||
73 | Always used in KVM testing. | 79 | Always used in KVM testing. |
74 | 80 | ||
81 | CONFIG_RCU_TORTURE_TEST_SLOW_PREINIT_DELAY | ||
82 | CONFIG_RCU_TORTURE_TEST_SLOW_INIT_DELAY | ||
83 | CONFIG_RCU_TORTURE_TEST_SLOW_CLEANUP_DELAY | ||
84 | |||
85 | Inspection suffices, ignore. | ||
86 | |||
75 | CONFIG_PREEMPT_RCU | 87 | CONFIG_PREEMPT_RCU |
76 | CONFIG_TREE_RCU | 88 | CONFIG_TREE_RCU |
89 | CONFIG_TINY_RCU | ||
90 | |||
91 | These are controlled by CONFIG_PREEMPT and/or CONFIG_SMP. | ||
92 | |||
93 | CONFIG_SPARSE_RCU_POINTER | ||
94 | |||
95 | Makes sense only for sparse runs, not for kernel builds. | ||
96 | |||
97 | CONFIG_SRCU | ||
98 | CONFIG_TASKS_RCU | ||
99 | |||
100 | Selected by CONFIG_RCU_TORTURE_TEST, so cannot disable. | ||
101 | |||
102 | CONFIG_RCU_TRACE | ||
103 | |||
104 | Implied by CONFIG_RCU_TRACE for Tree RCU. | ||
105 | |||
77 | 106 | ||
78 | These are controlled by CONFIG_PREEMPT. | 107 | boot parameters ignored: TBD |