diff options
author | Clark Williams <clark.williams@gmail.com> | 2014-09-12 22:21:09 -0400 |
---|---|---|
committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2014-10-29 13:19:41 -0400 |
commit | 21871d7eff2c96ae67e18e00adf59d56940e2fcc (patch) | |
tree | e1d6d5c5b7e1f3b70715451c1a04f591293fb474 /tools | |
parent | e0775cefb5ede661dbdc0611d7bf3fcd4640005c (diff) |
rcu: Unify boost and kthread priorities
Rename CONFIG_RCU_BOOST_PRIO to CONFIG_RCU_KTHREAD_PRIO and use this
value for both the per-CPU kthreads (rcuc/N) and the rcu boosting
threads (rcub/n).
Also, create the module_parameter rcutree.kthread_prio to be used on
the kernel command line at boot to set a new value (rcutree.kthread_prio=N).
Signed-off-by: Clark Williams <clark.williams@gmail.com>
[ paulmck: Ported to rcu/dev, applied Paul Bolle and Peter Zijlstra feedback. ]
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Diffstat (limited to 'tools')
-rw-r--r-- | tools/testing/selftests/rcutorture/configs/rcu/TREE03 | 2 | ||||
-rw-r--r-- | tools/testing/selftests/rcutorture/doc/TREE_RCU-kconfig.txt | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/tools/testing/selftests/rcutorture/configs/rcu/TREE03 b/tools/testing/selftests/rcutorture/configs/rcu/TREE03 index f4567fb3e332..b95f62efd6f2 100644 --- a/tools/testing/selftests/rcutorture/configs/rcu/TREE03 +++ b/tools/testing/selftests/rcutorture/configs/rcu/TREE03 | |||
@@ -17,5 +17,5 @@ CONFIG_DEBUG_LOCK_ALLOC=n | |||
17 | CONFIG_RCU_CPU_STALL_INFO=n | 17 | CONFIG_RCU_CPU_STALL_INFO=n |
18 | CONFIG_RCU_CPU_STALL_VERBOSE=n | 18 | CONFIG_RCU_CPU_STALL_VERBOSE=n |
19 | CONFIG_RCU_BOOST=y | 19 | CONFIG_RCU_BOOST=y |
20 | CONFIG_RCU_BOOST_PRIO=2 | 20 | CONFIG_RCU_KTHREAD_PRIO=2 |
21 | CONFIG_DEBUG_OBJECTS_RCU_HEAD=n | 21 | CONFIG_DEBUG_OBJECTS_RCU_HEAD=n |
diff --git a/tools/testing/selftests/rcutorture/doc/TREE_RCU-kconfig.txt b/tools/testing/selftests/rcutorture/doc/TREE_RCU-kconfig.txt index 3e588db86a17..ab6e7b4103ac 100644 --- a/tools/testing/selftests/rcutorture/doc/TREE_RCU-kconfig.txt +++ b/tools/testing/selftests/rcutorture/doc/TREE_RCU-kconfig.txt | |||
@@ -15,8 +15,8 @@ CONFIG_PREEMPT -- Do half. (First three and #8.) | |||
15 | CONFIG_PROVE_LOCKING -- Do all but two, covering CONFIG_PROVE_RCU and not. | 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. | 16 | CONFIG_PROVE_RCU -- Do all but one under CONFIG_PROVE_LOCKING. |
17 | CONFIG_RCU_BOOST -- one of TREE_PREEMPT_RCU. | 17 | CONFIG_RCU_BOOST -- one of TREE_PREEMPT_RCU. |
18 | CONFIG_RCU_BOOST_PRIO -- set to 2 for _BOOST testing. | 18 | CONFIG_RCU_KTHREAD_PRIO -- set to 2 for _BOOST testing. |
19 | CONFIG_RCU_CPU_STALL_INFO -- do one with and without _VERBOSE. | 19 | CONFIG_RCU_CPU_STALL_INFO -- Do one. |
20 | CONFIG_RCU_CPU_STALL_VERBOSE -- do one with and without _INFO. | 20 | CONFIG_RCU_CPU_STALL_VERBOSE -- do one with and without _INFO. |
21 | CONFIG_RCU_FANOUT -- Cover hierarchy as currently, but overlap with others. | 21 | CONFIG_RCU_FANOUT -- Cover hierarchy as currently, but overlap with others. |
22 | CONFIG_RCU_FANOUT_EXACT -- Do one. | 22 | CONFIG_RCU_FANOUT_EXACT -- Do one. |