linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH RFC cpumask] Allow "all", "none", and "last" in cpumask strings
@ 2021-01-06  0:48 Paul E. McKenney
  2021-01-06  0:49 ` [PATCH RFC cpumask 1/5] cpumask: Un-inline cpulist_parse for SMP; prepare for ascii helpers paulmck
                   ` (5 more replies)
  0 siblings, 6 replies; 22+ messages in thread
From: Paul E. McKenney @ 2021-01-06  0:48 UTC (permalink / raw)
  To: linux-kernel; +Cc: peterz, yury.norov, paul.gortmaker, kernel-team

Hello!

This series allows "all", "none", and "last" to be used in cpumask
strings.  This allows these strings to be less dependent on the underlying
system.  For example, currently a string specifying all but the first
CPU must be "1-7" on an eight-CPU system and "1-15" on a 16-CPU system.
With this series, the single string "1-last" can be used regardless of the
number of CPUs (at least assuming that each system has at least one CPU).

1.	Un-inline cpulist_parse for SMP; prepare for ascii helpers,
	courtesy of Paul Gortmaker.

2.	Make "all" alias global and not just RCU, courtesy of Paul
	Gortmaker.

3.	Add a "none" alias to complement "all", courtesy of Paul
	Gortmaker.

4.	Add "last" alias for cpu list specifications, courtesy of Paul
	Gortmaker.

5.	Use "all" and "last" in "nohz_full" and "rcu_nocbs".

						Thanx, Paul

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

 Documentation/admin-guide/kernel-parameters.rst            |   20 +
 Documentation/admin-guide/kernel-parameters.txt            |    4 
 include/linux/cpumask.h                                    |    8 
 kernel/rcu/tree_plugin.h                                   |   13 -
 lib/cpumask.c                                              |  136 ++++++++++++-
 tools/testing/selftests/rcutorture/configs/rcu/TREE04.boot |    2 
 tools/testing/selftests/rcutorture/configs/rcu/TREE08.boot |    2 
 7 files changed, 169 insertions(+), 16 deletions(-)

^ permalink raw reply	[flat|nested] 22+ messages in thread

end of thread, other threads:[~2021-01-21 22:44 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-06  0:48 [PATCH RFC cpumask] Allow "all", "none", and "last" in cpumask strings Paul E. McKenney
2021-01-06  0:49 ` [PATCH RFC cpumask 1/5] cpumask: Un-inline cpulist_parse for SMP; prepare for ascii helpers paulmck
2021-01-06  0:49 ` [PATCH RFC cpumask 2/5] cpumask: Make "all" alias global and not just RCU paulmck
2021-01-06  6:32   ` Yury Norov
2021-01-06  0:49 ` [PATCH RFC cpumask 3/5] cpumask: Add a "none" alias to complement "all" paulmck
2021-01-06  6:59   ` Yury Norov
2021-01-06  0:49 ` [PATCH RFC cpumask 4/5] cpumask: Add "last" alias for cpu list specifications paulmck
2021-01-06  8:41   ` Yury Norov
2021-01-06  9:49   ` Peter Zijlstra
2021-01-06 17:45     ` Paul Gortmaker
2021-01-06 21:16     ` Yury Norov
2021-01-07 14:18       ` Peter Zijlstra
2021-01-07 14:47         ` Paul E. McKenney
2021-01-07 14:59           ` Peter Zijlstra
2021-01-07 15:32             ` Paul E. McKenney
2021-01-07 15:05         ` Paul E. McKenney
2021-01-06  0:49 ` [PATCH RFC cpumask 5/5] rcutorture: Use "all" and "last" in "nohz_full" and "rcu_nocbs" paulmck
2021-01-06  8:49 ` [PATCH RFC cpumask] Allow "all", "none", and "last" in cpumask strings Yury Norov
2021-01-21  7:11   ` Yury Norov
2021-01-21 16:57     ` Paul E. McKenney
2021-01-21 21:39       ` Paul E. McKenney
2021-01-21 22:42     ` Paul Gortmaker

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).