Skip to content

Polling RCU grace-period interfaces for v5.13

Paul E. McKenney lkml rcu 1 version In review

Get series with b4
b4 am 20210304002605.GA23785@paulmck-ThinkPad-P72

Versions newest first

  1. v1 Latest3 patches 20 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3rcu: Provide polling interfaces for Tree RCU grace periodsinclude/linux/rcutree.h kernel/rcu/tree.c+67 -514 replies
2/3rcu: Provide polling interfaces for Tiny RCU grace periodsinclude/linux/rcutiny.h kernel/rcu/tiny.c+46 -56 replies
3/3rcutorture: Test start_poll_synchronize_rcu() and poll_state_synchronize_rcu()kernel/rcu/rcutorture.c+3 -90 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH tip/core/rcu 0/3] Polling RCU grace-period interfaces for v5.13

Hello!

This series provides additional polling interfaces for RCU, so that an updater may initiate and poll for completion of an RCU grace period despite never being invoked from a sleepable region of code. These are similar to the corresponding SRCU interfaces, give or take additional restrictions to avoid deadlock with the scheduler.

1. Provide polling interfaces for Tree RCU grace periods.

2. Provide polling interfaces for Tiny RCU grace periods.

3. Test start_poll_synchronize_rcu() and
poll_state_synchronize_rcu().

Thanx, Paul

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

 include/linux/rcutiny.h |   11 ++++---
 include/linux/rcutree.h |    2 +
 kernel/rcu/rcutorture.c |   12 ++------
 kernel/rcu/tiny.c       |   40 +++++++++++++++++++++++++++
 kernel/rcu/tree.c       |   70 ++++++++++++++++++++++++++++++++++++++++++++----
 5 files changed, 116 insertions(+), 19 deletions(-)