Miscellaneous fixes for 4.2
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest15 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/15 | rcu: Convert ACCESS_ONCE() to READ_ONCE() and WRITE_ONCE()include/ include/ kernel/ +7 more | +193 | 0 replies | |
| 2/15 | rcu: Convert from rcu_preempt_state to *rcu_state_pkernel/ | +9 | 0 replies | |
| 3/15 | rcu: Eliminate a few RCU_BOOST #ifdefs in favor of IS_ENABLED()kernel/ kernel/ | +20 | 0 replies | |
| 4/15 | rcu: Tell the compiler that rcu_state_p is immutablekernel/ kernel/ | +3 | 0 replies | |
| 5/15 | rcu: Create an immutable rcu_data_p pointer to default rcu_data structurekernel/ kernel/ | +10 | 0 replies | |
| 6/15 | rcu: Eliminate a few CONFIG_RCU_NOCB_CPU_ALL #ifdefsinclude/ include/ kernel/ | +14 | 0 replies | |
| 7/15 | rcu: Force wakeup of rcu_gp_kthread at grace-period endkernel/ | +1 | 0 replies | |
| 8/15 | rcu: tree_plugin: Use bool function return values of true/false not 1/0kernel/ | +2 | 0 replies | |
| 9/15 | powerpc: Fix smp_mb__before_spinlock()arch/ | +1 | 0 replies | |
| 10/15 | rcu: Fix missing task information during rcu-preempt stallkernel/ | +2 | 0 replies | |
| 11/15 | rcu: Add more debug info on "kthread starved" RCU CPU stall warningskernel/ | +3 | 0 replies | |
| 12/15 | smp: Make control dependencies work on Alpha, improve documentationDocumentation/ include/ kernel/ | +50 | 0 replies | |
| 13/15 | rcu: Make synchronize_sched_expedited() call wait_rcu_gp()kernel/ | +1 | 0 replies | |
| 14/15 | rcu: Make rcu_*_data variables statickernel/ kernel/ | +1 | 0 replies | |
| 15/15 | rcu: Change function declaration to boolkernel/ | +1 | 0 replies |
Reviews trailers per patch
3 of 15 patches have a Reviewed-by or Acked-by.
| Patch | Josh Triplett | Peter 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/15 | A-b | |
| 13/15 | ||
| 14/15 | R-b | |
| 15/15 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
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(-)