Skip to content

SRCU updates for v4.21/v5.0

Paul E. McKenney lkml stable 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4srcu: Fix kernel-doc missing notationinclude/linux/srcu.h+3 -00 replies
2/4srcu: Prevent __call_srcu() counter wrap with read-side critical sectionkernel/rcu/srcutree.c+3 -00 replies
3/4srcu: Lock srcu_data structure in srcu_gp_start()kernel/rcu/srcutree.c+2 -00 replies
4/4srcu: Use "ssp" instead of "sp" for srcu_struct pointerinclude/linux/srcu.h include/linux/srcutiny.h include/linux/srcutree.h +2 more+359 -3590 replies

Reviews trailers per patch

None of the 4 patches has a Reviewed-by or Acked-by.

PatchDennis Krein
1/4
2/4
3/4T-b
4/4

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/4] SRCU updates for v4.21/v5.0

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