Skip to content

rcu: fix synchronize_rcu_expedited(), update docs, improve perf

Paul E. McKenney lkml 1 version Applied

Status from this message: i've applied this to the .33 queue.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 17 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/6rcu: Update trace.txt documentation to reflect recent changesDocumentation/RCU/trace.txt+33 -1981 reply
2/6rcu: prevent RCU IPI storms in presence of high call_rcu() loadkernel/rcutree.c kernel/rcutree.h+28 -56 replies
3/6rcu: stopgap fix for synchronize_rcu_expedited() for TREE_PREEMPT_RCUinclude/linux/rcutree.h kernel/rcutree_plugin.h+20 -51 reply
4/6rcu: add exports for synchronize_rcu_expedited()kernel/rcutree_plugin.h+2 -00 replies
5/6rcu: add rnp->blocked_tasks to tracingkernel/rcutree_trace.c+5 -23 replies
6/6rcu: Update trace.txt documentation for blocked-tasks listsDocumentation/RCU/trace.txt+15 -61 reply

Reviews trailers per patch

None of the 6 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchJosh Triplett
SeriesA-b
1/6
2/6
3/6
4/6
5/6
6/6

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/6] rcu: fix synchronize_rcu_expedited(), update docs, improve perf

This patchset contains a bug fix, a performance improvement, and documentation updates:

o Update Documentation/RCU/trace.txt to reflect recent changes
(including the removal of rcupreempt.c).

o Fix to the severe performance problem with excessive IPIs and
lock contention in presence of very large (but legal) numbers of RCU callbacks (reported by Nick Piggin).

o Stopgap fix for a bug in TREE_PREEMPT_RCU's implementation of
synchronize_rcu_expedited(). This fix is correct, but no faster than synchronize_rcu().

o Add exports for the updated synchronize_rcu_expedited()
implementation, which moved from a static inline in include/linux/rcupdate.h to a separately compiled function in kernel/rcutree_plugin.h.

o Add the new rnp->blocked_tasks field to the rcuhier trace file
in debugfs.

o Update the Documentation/RCU/trace.txt documentation to include

	the rnp->blocked_tasks tracing.

I believe that this is 2.6.32 material.

 Documentation/RCU/trace.txt   |   22 ++-
 b/Documentation/RCU/trace.txt |  232 +++++-------------------------------------
 b/include/linux/rcutree.h     |    6 -
 b/kernel/rcutree.c            |   29 ++++-
 b/kernel/rcutree.h            |    5 
 b/kernel/rcutree_plugin.h     |   20 +++
 b/kernel/rcutree_trace.c      |    8 -
 kernel/rcutree_plugin.h       |    3 
 8 files changed, 103 insertions(+), 222 deletions(-)