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

From: Paul E. McKenney
Date: Wed Mar 03 2021 - 20:09:42 EST


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(-)