Skip to content

RFC preview of RCU patches for 2.6.38

Paul E. McKenney lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest12 patches 6 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/12rcu: add priority-inversion testing to rcutorturekernel/rcutorture.c+259 -110 replies
2/12rcu: move TINY_RCU from softirq to kthreadinclude/linux/rcupdate.h include/linux/rcutiny.h include/linux/rcutree.h +2 more+70 -260 replies
3/12rcu: priority boosting for TINY_PREEMPT_RCUinclude/linux/init_task.h include/linux/sched.h init/Kconfig +2 more+279 -520 replies
4/12rcu: add tracing for TINY_RCU and TINY_PREEMPT_RCUinit/Kconfig kernel/rcutiny.c kernel/rcutiny_plugin.h+208 -50 replies
5/12rcu: document TINY_RCU and TINY_PREEMPT_RCU tracing.Documentation/RCU/trace.txt+124 -80 replies
6/12rcu: Distinguish between boosting and boostedkernel/rcutiny_plugin.h+4 -00 replies
7/12rcu: get rid of obsolete "classic" names in TREE_RCU tracingkernel/rcutree_trace.c+4 -40 replies
8/12rcu,cleanup: move synchronize_sched_expedited() out of sched.cinclude/linux/rcupdate.h include/linux/rcutiny.h include/linux/rcutree.h +2 more+77 -700 replies
9/12rcu,cleanup: simplify the code when cpu is dyingkernel/rcutree.c kernel/rcutree.h kernel/rcutree_plugin.h +1 more+31 -780 replies
10/12rcu: update documentation/comments for Lai's adoption patchDocumentation/RCU/trace.txt kernel/rcutree.c kernel/rcutree_plugin.h+11 -130 replies
11/12rcu: fix race condition in synchronize_sched_expedited()kernel/rcutree_plugin.h+16 -26 replies
12/12rcu: Make synchronize_srcu_expedited() fast if running readerskernel/srcu.c+7 -10 replies

Reviews trailers per patch

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

PatchLai Jiangshan
1/12
2/12
3/12
4/12
5/12
6/12
7/12
8/12
9/12
10/12
11/12A-b
12/12

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 RFC tip/core/rcu 0/12] preview of RCU patches for 2.6.38

Hello!

This patchset contains RCU priority boosting for the tiny RCU implementations and a number of fixes and cleanups. The patches are as follows:

1. Add rcutorture tests to check for boosting.
2-6. RCU priority boosting for the tiny RCU implementations.
7. Fix a few naming holdouts from old Classic RCU.
8. Move synchronize_sched_expedited() out of sched.c
(from Lai Jiangshan).
9. Simplify the RCU callback orphan/adopt code for CPU hotplug
(from Lai Jiangshan).
10. Update RCU tracing documentation to reflect patch #9.
11. Fix a race condition in synchronize_sched_expedited(),
but Tejun Heo has suggested another approach that might be better longer term.
12. Make synchronize_srcu_expedited() spin for a bit to avoid
blocking -- again, there may be a better long-term fix.

For a testing-only version of this patchset from git, please see:

git://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-2.6-rcu.git rcu/testing

Thanx, Paul

 Documentation/RCU/trace.txt   |   12 -
 b/Documentation/RCU/trace.txt |  132 ++++++++++++-
 b/include/linux/init_task.h   |    9 
 b/include/linux/rcupdate.h    |    1 
 b/include/linux/rcutiny.h     |    8 
 b/include/linux/rcutree.h     |    1 
 b/include/linux/sched.h       |   11 -
 b/init/Kconfig                |   39 +++
 b/kernel/rcutiny.c            |   71 +++++--
 b/kernel/rcutiny_plugin.h     |   15 -
 b/kernel/rcutorture.c         |  270 ++++++++++++++++++++++++++-
 b/kernel/rcutree.c            |   81 ++------
 b/kernel/rcutree.h            |   16 -
 b/kernel/rcutree_plugin.h     |   71 +++++++
 b/kernel/rcutree_trace.c      |    8 
 b/kernel/sched.c              |   69 ------
 b/kernel/srcu.c               |    8 
 include/linux/rcupdate.h      |    1 
 include/linux/rcutiny.h       |    5 
 include/linux/rcutree.h       |    1 
 init/Kconfig                  |    1 
 kernel/rcutiny.c              |   70 +++----
 kernel/rcutiny_plugin.h       |  418 ++++++++++++++++++++++++++++++++++++++++--
 kernel/rcutree.c              |   10 -
 kernel/rcutree_plugin.h       |   28 ++
 kernel/rcutree_trace.c        |    4 
 26 files changed, 1090 insertions(+), 270 deletions(-)