diff options
author | Yury Norov <yury.norov@gmail.com> | 2021-04-20 20:13:25 -0700 |
---|---|---|
committer | Paul E. McKenney <paulmck@kernel.org> | 2021-05-10 15:38:20 -0700 |
commit | b18def121f077857ccf92fc620366e19850bc297 (patch) | |
tree | b19cef760cf5a2e53c37633b6cfb365c75c6abac /lib/mpi/mpi-sub-ui.c | |
parent | 6efb943b8616ec53a5e444193dccf1af9ad627b5 (diff) |
bitmap_parse: Support 'all' semantics
RCU code supports an 'all' group as a special case when parsing rcu_nocbs
parameter. This patch moves the 'all' support to the core bitmap_parse
code, so that all bitmap users can enjoy this extension.
Moving 'all' parsing to a bitmap_parse level also allows users to pass
patterns together with 'all' in regular group:pattern format, for example,
"rcu_nocbs=all:1/2" would offload all the even-numbered CPUs regardless
of the number of CPUs on the system.
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Yury Norov <yury.norov@gmail.com>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions