diff options
author | Paul E. McKenney <paul.mckenney@linaro.org> | 2012-12-03 11:16:28 -0500 |
---|---|---|
committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2013-03-26 11:04:48 -0400 |
commit | a488985851cf2facd2227bd982cc2c251df56268 (patch) | |
tree | 450d84d1fc01bd7997b651e47d2587fac5c6f085 /init | |
parent | 09c7b890622d72b5e004cc249bbe610e8b928ddf (diff) |
rcu: Distinguish "rcuo" kthreads by RCU flavor
Currently, the per-no-CBs-CPU kthreads are named "rcuo" followed by
the CPU number, for example, "rcuo". This is problematic given that
there are either two or three RCU flavors, each of which gets a per-CPU
kthread with exactly the same name. This commit therefore introduces
a one-letter abbreviation for each RCU flavor, namely 'b' for RCU-bh,
'p' for RCU-preempt, and 's' for RCU-sched. This abbreviation is used
to distinguish the "rcuo" kthreads, for example, for CPU 0 we would have
"rcuob/0", "rcuop/0", and "rcuos/0".
Signed-off-by: Paul E. McKenney <paul.mckenney@linaro.org>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Tested-by: Dietmar Eggemann <dietmar.eggemann@arm.com>
Diffstat (limited to 'init')
-rw-r--r-- | init/Kconfig | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/init/Kconfig b/init/Kconfig index 307499704580..717584064a7e 100644 --- a/init/Kconfig +++ b/init/Kconfig | |||
@@ -666,12 +666,13 @@ config RCU_NOCB_CPU | |||
666 | 666 | ||
667 | This option offloads callback invocation from the set of | 667 | This option offloads callback invocation from the set of |
668 | CPUs specified at boot time by the rcu_nocbs parameter. | 668 | CPUs specified at boot time by the rcu_nocbs parameter. |
669 | For each such CPU, a kthread ("rcuoN") will be created to | 669 | For each such CPU, a kthread ("rcuox/N") will be created to |
670 | invoke callbacks, where the "N" is the CPU being offloaded. | 670 | invoke callbacks, where the "N" is the CPU being offloaded, |
671 | Nothing prevents this kthread from running on the specified | 671 | and where the "x" is "b" for RCU-bh, "p" for RCU-preempt, and |
672 | CPUs, but (1) the kthreads may be preempted between each | 672 | "s" for RCU-sched. Nothing prevents this kthread from running |
673 | callback, and (2) affinity or cgroups can be used to force | 673 | on the specified CPUs, but (1) the kthreads may be preempted |
674 | the kthreads to run on whatever set of CPUs is desired. | 674 | between each callback, and (2) affinity or cgroups can be used |
675 | to force the kthreads to run on whatever set of CPUs is desired. | ||
675 | 676 | ||
676 | Say Y here if you want to help to debug reduced OS jitter. | 677 | Say Y here if you want to help to debug reduced OS jitter. |
677 | Say N here if you are unsure. | 678 | Say N here if you are unsure. |