Skip to contentSkip to conversation

rcu-tree_plugin-dont-handle-the-case-of-all-cpu-range.patch removed from -mm tree

merged [email protected] 1 participant 1 message May 11, 2021

lore
Share & tools
lore

[email protected]

author tree notice Applied
#0 lore raw

The patch titled
Subject: rcu/tree_plugin: don't handle the case of 'all' CPU range
has been removed from the -mm tree. Its filename was
rcu-tree_plugin-dont-handle-the-case-of-all-cpu-range.patch

This patch was dropped because it was merged into mainline or a subsystem tree

------------------------------------------------------
From: Yury Norov <[email protected]>
Subject: rcu/tree_plugin: don't handle the case of 'all' CPU range

The 'all' semantics is now supported by the bitmap_parselist() so we can drop supporting it as a special case in RCU code. Since 'all' is properly supported in core bitmap code, drop legacy comment in RCU for it.

This patch does not add any functional changes for existing users.

Cc "Paul E. McKenney" <[email protected]>
Cc Andy Shevchenko <[email protected]>
Cc Joel Fernandes <[email protected]>
Cc Jonathan Corbet <[email protected]>
Cc Lai Jiangshan <[email protected]>
Cc Mathieu Desnoyers <[email protected]>
Cc Palmer Dabbelt <[email protected]>
Cc Paul Gortmaker <[email protected]>
Cc Randy Dunlap <[email protected]>
Cc Rasmus Villemoes <[email protected]>
Cc Steven Rostedt <[email protected]>

---

 kernel/rcu/tree_plugin.h |    9 +++------
 1 file changed, 3 insertions(+), 6 deletions(-)
kernel/rcu/tree_plugin.h renamed from kernel/rcu/tree_plugin.h~rcu-tree_plugin-dont-handle-the-case-of-all-cpu-range +3 -6
@@ -1535,13 +1535,10 @@ static void rcu_cleanup_after_idle(void)
 static int __init rcu_nocb_setup(char *str)
 {
 	alloc_bootmem_cpumask_var(&rcu_nocb_mask);
-	if (!strcasecmp(str, "all"))		/* legacy: use "0-N" instead */
+	if (cpulist_parse(str, rcu_nocb_mask)) {
+		pr_warn("rcu_nocbs= bad CPU range, all CPUs set\n");
 		cpumask_setall(rcu_nocb_mask);
-	else
-		if (cpulist_parse(str, rcu_nocb_mask)) {
-			pr_warn("rcu_nocbs= bad CPU range, all CPUs set\n");
-			cpumask_setall(rcu_nocb_mask);
-		}
+	}
 	return 1;
 }
 __setup("rcu_nocbs=", rcu_nocb_setup);

_

Patches currently in -mm which might be from [email protected] are