Skip to contentSkip to conversation

rcu: disambiguate CONFIG_RCU_NOCB_CPUs

PATCH Applied Paul Bolle 2 participants 2 messages Feb 9, 2014 RCU

lore
Share & tools
lore

Paul Bolle

author
#0 lore raw

PATCH 1/1 rcu: disambiguate CONFIG_RCU_NOCB_CPUs

---
 kernel/rcu/tree_plugin.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
kernel/rcu/tree_plugin.h +1 -1
index 6e2ef4b..366e21e 100644
@@ -2893,7 +2893,7 @@ static void rcu_sysidle_init_percpu_data(struct rcu_dynticks *rdtp)
  * CPU unless the grace period has extended for too long.
  *
  * This code relies on the fact that all NO_HZ_FULL CPUs are also
- * CONFIG_RCU_NOCB_CPUs.
+ * CONFIG_RCU_NOCB_CPU CPUs.
  */
 static bool rcu_nohz_full_cpu(struct rcu_state *rsp)
 {
Signature · 1 line
1.8.5.3
#1 lore raw
Quoted 10 lines · Paul Bolle
---
 kernel/rcu/tree_plugin.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
kernel/rcu/tree_plugin.h +0 -0
index 6e2ef4b..366e21e 100644

kernel/rcu/tree_plugin.h static void rcu_sysidle_init_percpu_data(struct rcu_dynticks *rdtp) · line 2899

Quoted 8 lines
kernel/rcu/tree_plugin.h +1 -1
@@ -2893,7 +2893,7 @@ static void rcu_sysidle_init_percpu_data(struct rcu_dynticks *rdtp)
  * CPU unless the grace period has extended for too long.
  *
  * This code relies on the fact that all NO_HZ_FULL CPUs are also
- * CONFIG_RCU_NOCB_CPUs.
+ * CONFIG_RCU_NOCB_CPU CPUs.
  */
 static bool rcu_nohz_full_cpu(struct rcu_state *rsp)
 {

Applied as follows, good catch!

Thanx, Paul

------------------------------------------------------------------------

rcu: Disambiguate CONFIG_RCU_NOCB_CPUs

This commit fixes a grammar issue in the rcu_nohz_full_cpu() comment header, so that it is clear that the plural is CPUs not Kconfig options.

kernel/rcu/tree_plugin.h +1 -1
index bdc2e56b3e06..962d1d589929 100644
@@ -2902,7 +2902,7 @@ static void rcu_sysidle_init_percpu_data(struct rcu_dynticks *rdtp)
  * CPU unless the grace period has extended for too long.
  *
  * This code relies on the fact that all NO_HZ_FULL CPUs are also
- * CONFIG_RCU_NOCB_CPUs.
+ * CONFIG_RCU_NOCB_CPU CPUs.
  */
 static bool rcu_nohz_full_cpu(struct rcu_state *rsp)
 {