Skip to content

SRCU changes for 3.8

Paul E. McKenney lkml 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: Credit Lai Jiangshan with SRCU rewriteinclude/linux/srcu.h kernel/srcu.c+4 -00 replies
2/4srcu: Export process_srcu()include/linux/srcu.h kernel/srcu.c+4 -40 replies
3/4srcu: Add DEFINE_SRCU()include/linux/srcu.h+30 -00 replies
4/4rcutorture: Use DEFINE_STATIC_SRCU()kernel/rcutorture.c+6 -350 replies

Reviews trailers per patch

1 of 4 patches has a Reviewed-by or Acked-by.

PatchJosh Triplett
1/4
2/4
3/4
4/4R-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/4] SRCU changes for 3.8

Hello!

This patch series contains SRCU changes allowing srcu_structs to be statically initialized. The patches are as follows:

1. Add Lai Jiangshan as author for srcu.c and srcu.h.
(Courtesy Lia Jiangshan.)
2. Export process_srcu() so that the initialization macro may
be invoked anywhere. (Courtesy Lia Jiangshan.)
3. Add DEFINE_SRCU(). (Courtesy Lia Jiangshan.)
4. Add DEFINE_STATIC_SRCU(). This cannot be emulated by
"static DEFINE_SRCU()" due to forward-reference issues. (Courtesy Lia Jiangshan.)

Thanx, Paul

 b/include/linux/srcu.h |   34 ++++++++++++++++++++++++++++++++++
 b/kernel/rcutorture.c  |   41 ++++++-----------------------------------
 b/kernel/srcu.c        |    8 ++++----
 3 files changed, 44 insertions(+), 39 deletions(-)