Skip to content

Tiny RCU updates for 4.2

Paul E. McKenney lkml stable 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 8 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3rcu: Further shrink Tiny RCU by making empty functions static inlinesinclude/linux/rcupdate.h include/linux/rcutiny.h include/linux/rcutree.h +1 more+21 -372 replies
2/3rcutorture: Test both RCU-sched and RCU-bh for Tiny RCUtools/testing/selftests/rcutorture/configs/rcu/TINY02.boot+1 -04 replies
3/3rcu: Correctly handle non-empty Tiny RCU callback list with none readykernel/rcu/tiny.c+5 -02 replies

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchJosh Triplett
1/3R-b R-b
2/3R-b
3/3R-b

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/3] Tiny RCU updates for 4.2

Hello!

This series contains updates to Tiny RCU, including a low-probability but quite real race condition.

1. Further shrink Tiny RCU by making empty functions static inlines.

2. Test both RCU-sched and RCU-bh for Tiny RCU, which located the
race condition fixed by #3 below.

3. Correctly handle non-empty Tiny RCU callback list with none ready.

Thanx, Paul

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

 b/include/linux/rcupdate.h                                   |    4 -
 b/include/linux/rcutiny.h                                    |   16 ++++
 b/include/linux/rcutree.h                                    |    5 +
 b/kernel/rcu/tiny.c                                          |   38 +----------
 b/tools/testing/selftests/rcutorture/configs/rcu/TINY02.boot |    1 
 5 files changed, 27 insertions(+), 37 deletions(-)