Skip to content

Fixes for 3.14

Paul E. McKenney lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest16 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/16rcu: Kick CPU halfway to RCU CPU stall warningkernel/rcu/tree.c kernel/rcu/tree.h+27 -10 replies
2/16rcu: Fix and comment ordering around wait_event()kernel/rcu/torture.c kernel/rcu/tree.c kernel/rcu/tree_plugin.h+13 -40 replies
3/16rcu: Break call_rcu() deadlock involving scheduler and perfDocumentation/RCU/trace.txt kernel/rcu/tree.c kernel/rcu/tree.h +2 more+86 -250 replies
4/16rcu: Allow task-level idle entry/exit nestingkernel/rcu/tree.c+8 -60 replies
5/16rcu: Fix srcu_barrier() docbook headerkernel/rcu/srcu.c+1 -00 replies
6/16rcu: Let the world know when RCU adjusts its geometrykernel/rcu/tree.c+2 -00 replies
7/16rcu: Fix coccinelle warningskernel/rcu/tree.c+1 -10 replies
8/16rcu: Fix CONFIG_RCU_FANOUT_EXACT for odd fanout/leaf valueskernel/rcu/tree.c+2 -20 replies
9/16rcu: Improve SRCU's grace-period commentskernel/rcu/srcu.c+49 -70 replies
10/16rcu: Provide better diagnostics for blocking in RCU callback functionsinclude/linux/rcupdate.h kernel/rcu/rcu.h kernel/rcu/update.c+9 -00 replies
11/16rcu: Warn on allegedly impossible rcu_read_unlock_special() from irqkernel/rcu/tree_plugin.h+6 -20 replies
12/16srcu: Add API for barrier after srcu_read_unlock()include/linux/srcu.h+14 -00 replies
13/16rcu: Don't activate RCU core on NO_HZ_FULL CPUskernel/rcu/tree.c kernel/rcu/tree.h kernel/rcu/tree_plugin.h+25 -00 replies
14/16rcu/torture: Dynamically allocate SRCU output buffer to avoid overflowkernel/rcu/torture.c+34 -330 replies
15/16rcu: Remove "extern" from function declarations in include/linux/*rcu*.hinclude/linux/rculist.h include/linux/rcupdate.h include/linux/rcutiny.h +1 more+61 -610 replies
16/16rcu: Remove "extern" from function declarations in kernel/rcu/rcu.hkernel/rcu/rcu.h+1 -10 replies

Reviews trailers per patch

2 of 16 patches have a Reviewed-by or Acked-by.

PatchLai JiangshanMike GalbraithFrederic Weisbecker
1/16
2/16
3/16
4/16R-b
5/16
6/16
7/16
8/16
9/16
10/16
11/16
12/16A-b
13/16T-b Toasted-by
14/16
15/16
16/16

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v1 thread

Cover letter [PATCH tip/core/rcu 0/16] Fixes for 3.14

Hello!

This series contains miscellaneous fixes for RCU:

1. Kick CPUs when they get halfway to the stall-warning timeout.

2. Because wait_event() and wake_up() do not necessarily imply
full memory barriers, supply them as needed.

3. Fix a deadlock between RCU, scheduler, and perf by deferring
wake-ups until locks are dropped.

4. Allow task-level idle entry/exit nesting.

5. Fix srcu_barrier()'s docbook header.

6. Announce rcu_node geometry adjustment at boot time.

7. Fix some bool-return bugs detected by coccinelle,
courtesy of Fengguang Wu.

8. Make CONFIG_RCU_FANOUT_EXACT work correctly for oddball
CONFIG_RCU_FANOUT and CONFIG_RCU_FANOUT_LEAF values. (They were so oddball that even I wasn't testing them, but they still need to be fixed.)

9. Provide function-header documentation of memory-barrier guarantees
provided by synchronize_srcu() and call_srcu().

10. Improve diagnostics for blocking in RCU callback functions.

11. Warn on allegedly impossible rcu_read_unlock_special() from irq.
And fix the first allegedly impossible warning that triggered. ;-) Courtesy of Lai Jiangshan.

12. Add smp_mb__after_srcu_read_unlock() to force full barrier
in conjunction with srcu_read_unlock(), courtesy of Michael S. Tsirkin.

13. Refuse to activate RCU core on NO_HZ_FULL CPUs, at least until
the grace period gets too long in the tooth.

14. Dynamically allocate rcutorture buffer for SRCU output to avoid
potential buffer overflows, courtesy of Chen Gang.

15-16: Remove "extern" declarations, courtesy of Teodora Baluta.

Thanx, Paul

 b/Documentation/RCU/trace.txt |   20 +++++----
 b/include/linux/rculist.h     |    4 -
 b/include/linux/rcupdate.h    |   81 +++++++++++++++++++-------------------
 b/include/linux/rcutiny.h     |    2 
 b/include/linux/rcutree.h     |   36 ++++++++--------
 b/include/linux/srcu.h        |   14 ++++++
 b/kernel/rcu/rcu.h            |    5 +-
 b/kernel/rcu/srcu.c           |   57 +++++++++++++++++++++++---
 b/kernel/rcu/torture.c        |   75 ++++++++++++++++++-----------------
 b/kernel/rcu/tree.c           |   79 ++++++++++++++++++++++++++++++-------
 b/kernel/rcu/tree.h           |   12 ++++-
 b/kernel/rcu/tree_plugin.h    |   89 +++++++++++++++++++++++++++++++++++-------
 b/kernel/rcu/tree_trace.c     |    3 -
 b/kernel/rcu/update.c         |    5 ++
 14 files changed, 339 insertions(+), 143 deletions(-)