[PATCH tip/core/rcu 0/4] SRCU updates for v4.21/v5.0

From: Paul E. McKenney
Date: Sun Nov 11 2018 - 15:08:44 EST


Hello!

This series contains SRCU updates:

1. Fix kernel-doc missing notation, courtesy of Randy Dunlap.

2. Prevent __call_srcu() counter wrap with read-side critical section.

3. Lock srcu_data structure in srcu_gp_start(), fixing a an extremely
rare but also extremely embarrassing concurrency bug, courtesy
of Dennis Krein.

4. Use "ssp" instead of "sp" for srcu_struct pointer, in the hope
that this prevents confusion about which lock is held.

Thanx, Paul

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

include/linux/srcu.h | 81 ++++---
include/linux/srcutiny.h | 24 +-
include/linux/srcutree.h | 8
kernel/rcu/srcutiny.c | 120 +++++------
kernel/rcu/srcutree.c | 493 +++++++++++++++++++++++------------------------
5 files changed, 367 insertions(+), 359 deletions(-)