[PATCH tip/core/rcu 0/10] SRCU updates for v5.12

Paul E. McKenney
2021-01-06T16:56:08Z

Hello!

This series contains SRCU updates, most notably the polling grace-period
API requested by Kent Overstreet.

1. Make Tiny SRCU use multi-bit grace-period counter.

2. Provide internal interface to start a Tiny SRCU grace period.

3. Provide internal interface to start a Tree SRCU grace period.

4. Provide polling interfaces for Tiny SRCU grace periods.

5. Provide polling interfaces for Tree SRCU grace periods.

6. Document polling interfaces for Tree SRCU grace periods.

7. Add comment explaining cookie overflow/wrap.

8. Prepare for ->start_gp_poll and ->poll_gp_state.

9. Add writer-side tests of polling grace-period API.

10. Add reader-side tests of polling grace-period API.

Thanx, Paul

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

Documentation/RCU/Design/Requirements/Requirements.rst | 18 ++
include/linux/rcupdate.h | 2
include/linux/srcu.h | 3
include/linux/srcutiny.h | 7
kernel/rcu/rcutorture.c | 99 +++++++++--
kernel/rcu/srcutiny.c | 77 +++++++-
kernel/rcu/srcutree.c | 148 +++++++++++++----
7 files changed, 296 insertions(+), 58 deletions(-)