Skip to content

Miscellaneous fixes for 4.2

Paul E. McKenney linux-rt-users linuxppc-dev lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest15 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/15rcu: Convert ACCESS_ONCE() to READ_ONCE() and WRITE_ONCE()include/linux/rculist.h include/linux/rcupdate.h kernel/rcu/rcutorture.c +7 more+193 -1920 replies
2/15rcu: Convert from rcu_preempt_state to *rcu_state_pkernel/rcu/tree_plugin.h+9 -100 replies
3/15rcu: Eliminate a few RCU_BOOST #ifdefs in favor of IS_ENABLED()kernel/rcu/tree.h kernel/rcu/tree_plugin.h+20 -170 replies
4/15rcu: Tell the compiler that rcu_state_p is immutablekernel/rcu/tree.c kernel/rcu/tree_plugin.h+3 -30 replies
5/15rcu: Create an immutable rcu_data_p pointer to default rcu_data structurekernel/rcu/tree.c kernel/rcu/tree_plugin.h+10 -70 replies
6/15rcu: Eliminate a few CONFIG_RCU_NOCB_CPU_ALL #ifdefsinclude/linux/rcupdate.h include/linux/rcutree.h kernel/rcu/tree_plugin.h+14 -140 replies
7/15rcu: Force wakeup of rcu_gp_kthread at grace-period endkernel/rcu/tree.c+1 -00 replies
8/15rcu: tree_plugin: Use bool function return values of true/false not 1/0kernel/rcu/tree_plugin.h+2 -20 replies
9/15powerpc: Fix smp_mb__before_spinlock()arch/powerpc/include/asm/barrier.h+1 -00 replies
10/15rcu: Fix missing task information during rcu-preempt stallkernel/rcu/tree_plugin.h+2 -20 replies
11/15rcu: Add more debug info on "kthread starved" RCU CPU stall warningskernel/rcu/tree.c+3 -20 replies
12/15smp: Make control dependencies work on Alpha, improve documentationDocumentation/memory-barriers.txt include/linux/compiler.h kernel/events/ring_buffer.c+50 -230 replies
13/15rcu: Make synchronize_sched_expedited() call wait_rcu_gp()kernel/rcu/tree.c+1 -10 replies
14/15rcu: Make rcu_*_data variables statickernel/rcu/tree.c kernel/rcu/tree.h+1 -40 replies
15/15rcu: Change function declaration to boolkernel/rcu/tree.c+1 -10 replies

Reviews trailers per patch

3 of 15 patches have a Reviewed-by or Acked-by.

PatchJosh TriplettPeter Zijlstra (Intel)
1/15
2/15
3/15
4/15
5/15
6/15
7/15
8/15
9/15
10/15
11/15
12/15A-b
13/15
14/15R-b
15/15R-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/15] Miscellaneous fixes for 4.2

Hello!

This series contains miscellaneous fixes.

1. Move RCU from the old ACCESS_ONCE() API to READ_ONCE() and

	WRITE_ONCE().

2. Change uses of rcu_preempt_state to *rcu_state_p, which allows
easier elimination of a few #ifdefs.

3. Eliminate a few CONFIG_RCU_BOOST #ifdefs.

4. Use the "const" tag to tell the compiler that rcu_state_p is
immutable.

5. Create an immutable rcu_data_p to the default rcu_data per-CPU
structures.

6. Eliminate a few CONFIG_RCU_NOCB_CPU_ALL #ifdefs.

7. Force wakeup of rcu_gp_kthread at grace-period end in order to
cause end-of-grace-period processing to happen in a timely fashion, thus reducing grace-period latencies.

8. Use true/false for bool-function return values, courtesy of
Joe Perches.

9. Fix PowerPC's smp_mb__before_spinlock().

10. Prevent RCU CPU stall warnings from ignoring tasks blocking the
current grace period, courtesy of Patrick Daly.

11. Add more debugging information when an RCU CPU stall warning is
caused by stalling of the grace-period kthread.

12. Make control dependencies work on DEC Alpha and fix documentation.

13. Avoid deadlocks by having synchronize_sched_expedited() invoke
wait_rcu_gp() instead of synchronize_sched().

14. Make the rcu_*_data variables static.

15. Change rcu_cpu_has_callbacks()'s return type to bool, courtesy
of Nicholas Mc Guire.

Thanx, Paul

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

 b/Documentation/memory-barriers.txt  |   55 +++++----
 b/arch/powerpc/include/asm/barrier.h |    1 
 b/include/linux/compiler.h           |   16 ++
 b/include/linux/rculist.h            |    6 -
 b/include/linux/rcupdate.h           |   20 +--
 b/include/linux/rcutree.h            |    2 
 b/kernel/events/ring_buffer.c        |    2 
 b/kernel/rcu/rcutorture.c            |    2 
 b/kernel/rcu/srcu.c                  |   10 -
 b/kernel/rcu/tiny_plugin.h           |   12 +-
 b/kernel/rcu/tree.c                  |  199 +++++++++++++++++------------------
 b/kernel/rcu/tree.h                  |    5 
 b/kernel/rcu/tree_plugin.h           |  197 +++++++++++++++++-----------------
 b/kernel/rcu/tree_trace.c            |    6 -
 b/kernel/rcu/update.c                |   30 ++---
 b/kernel/torture.c                   |   26 ++--
 16 files changed, 311 insertions(+), 278 deletions(-)