diff options
author | Paul E. McKenney <paulmck@linux.ibm.com> | 2019-04-02 17:05:55 +0200 |
---|---|---|
committer | Paul E. McKenney <paulmck@linux.ibm.com> | 2019-08-13 23:32:39 +0200 |
commit | f7c612b000d7e974826089b5a6f6eecd6805862a (patch) | |
tree | f88ff60641463f4fa8ebd9da59997b4794c85f10 /kernel/rcu/tree_plugin.h | |
parent | rcu/nocb: Rename and document no-CB CB kthread sleep trace event (diff) | |
download | linux-f7c612b000d7e974826089b5a6f6eecd6805862a.tar.xz linux-f7c612b000d7e974826089b5a6f6eecd6805862a.zip |
rcu/nocb: Rename rcu_nocb_leader_stride kernel boot parameter
This commit changes the name of the rcu_nocb_leader_stride kernel
boot parameter to rcu_nocb_gp_stride in order to account for the new
distinction between callback and grace-period no-CBs kthreads.
Signed-off-by: Paul E. McKenney <paulmck@linux.ibm.com>
Diffstat (limited to 'kernel/rcu/tree_plugin.h')
-rw-r--r-- | kernel/rcu/tree_plugin.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kernel/rcu/tree_plugin.h b/kernel/rcu/tree_plugin.h index be065aacd63b..80b27a9f306d 100644 --- a/kernel/rcu/tree_plugin.h +++ b/kernel/rcu/tree_plugin.h @@ -2126,8 +2126,8 @@ static void __init rcu_spawn_nocb_kthreads(void) } /* How many CB CPU IDs per GP kthread? Default of -1 for sqrt(nr_cpu_ids). */ -static int rcu_nocb_leader_stride = -1; -module_param(rcu_nocb_leader_stride, int, 0444); +static int rcu_nocb_gp_stride = -1; +module_param(rcu_nocb_gp_stride, int, 0444); /* * Initialize GP-CB relationships for all no-CBs CPU. @@ -2135,7 +2135,7 @@ module_param(rcu_nocb_leader_stride, int, 0444); static void __init rcu_organize_nocb_kthreads(void) { int cpu; - int ls = rcu_nocb_leader_stride; + int ls = rcu_nocb_gp_stride; int nl = 0; /* Next GP kthread. */ struct rcu_data *rdp; struct rcu_data *rdp_gp = NULL; /* Suppress misguided gcc warn. */ @@ -2145,7 +2145,7 @@ static void __init rcu_organize_nocb_kthreads(void) return; if (ls == -1) { ls = int_sqrt(nr_cpu_ids); - rcu_nocb_leader_stride = ls; + rcu_nocb_gp_stride = ls; } /* |