Skip to content

Add bitmap (thus CPU) ranges

Paul E. McKenney lkml rcu 1 version New

Get series with b4
b4 am 20210303235526.GA21868@paulmck-ThinkPad-P72

Versions newest first

  1. v1 Latest9 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/9lib: test_bitmap: clearly separate ERANGE from EINVAL tests.lib/test_bitmap.c+6 -60 replies
2/9lib: test_bitmap: add tests to trigger ERANGE case.lib/test_bitmap.c+2 -00 replies
3/9lib: test_bitmap: add more start-end:offset/len testslib/test_bitmap.c+22 -00 replies
4/9lib: bitmap: fold nbits into region structlib/bitmap.c+10 -90 replies
5/9lib: bitmap: move ERANGE check from set_region to check_regionlib/bitmap.c+5 -90 replies
6/9lib: bitmap: support "N" as an alias for size of bitmapDocumentation/admin-guide/kernel-parameters.rst lib/bitmap.c+24 -50 replies
7/9lib: test_bitmap: add tests for "N" aliaslib/test_bitmap.c+10 -00 replies
8/9rcu: deprecate "all" option to rcu_nocbs=Documentation/admin-guide/kernel-parameters.txt kernel/rcu/tree_plugin.h+3 -70 replies
9/9rcutorture: Use "all" and "N" in "nohz_full" and "rcu_nocbs"tools/testing/selftests/rcutorture/configs/rcu/TREE04.boot tools/testing/selftests/rcutorture/configs/rcu/TREE08.boot+2 -20 replies

Reviews trailers per patch

8 of 9 patches have a Reviewed-by or Acked-by.

PatchYury NorovAndy Shevchenko
1/9A-b R-b
2/9A-b R-b
3/9A-b R-b
4/9A-b R-b
5/9A-b R-b
6/9A-b
7/9A-b
8/9A-b
9/9

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH tip/core/rcu 0/9] Add bitmap (thus CPU) ranges

Hello!

This series adds ranges to bitmaps, and thus to CPU numbers, so that a kernel boot parameter such as "rcu_nocbs=2-N" is now permitted.

1. test_bitmap: clearly separate ERANGE from EINVAL tests, courtesy
of Paul Gortmaker.

2. test_bitmap: add tests to trigger ERANGE case, courtesy of
Paul Gortmaker.

3. test_bitmap: add more start-end:offset/len tests, courtesy of
Paul Gortmaker.

4. bitmap: fold nbits into region struct, courtesy of Paul Gortmaker.

5. bitmap: move ERANGE check from set_region to check_region,
courtesy of Paul Gortmaker.

6. bitmap: support "N" as an alias for size of bitmap, courtesy of
Paul Gortmaker.

7. test_bitmap: add tests for "N" alias, courtesy of Paul Gortmaker.

8. deprecate "all" option to rcu_nocbs=, courtesy of Paul Gortmaker.

9. Use "all" and "N" in "nohz_full" and "rcu_nocbs".

Thanx, Paul

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

 Documentation/admin-guide/kernel-parameters.rst            |    7 +
 Documentation/admin-guide/kernel-parameters.txt            |    4 
 kernel/rcu/tree_plugin.h                                   |    6 -
 lib/bitmap.c                                               |   55 +++++++------
 lib/test_bitmap.c                                          |   46 +++++++++-
 tools/testing/selftests/rcutorture/configs/rcu/TREE04.boot |    2 
 tools/testing/selftests/rcutorture/configs/rcu/TREE08.boot |    2 
 7 files changed, 84 insertions(+), 38 deletions(-)