Commit a6814a79 authored by Yury Norov's avatar Yury Norov Committed by Paul E. McKenney
Browse files

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, also drop legacy comment in RCU for it.

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

Reviewed-by: default avatarAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: default avatarYury Norov <yury.norov@gmail.com>
Signed-off-by: default avatarPaul E. McKenney <paulmck@kernel.org>
parent b18def12
Loading
Loading
Loading
Loading
+3 −6
Original line number Diff line number Diff line
@@ -1535,9 +1535,6 @@ 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 */
		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);