Skip to contentSkip to conversation

Miscellaneous fixes for 4.5

PATCH New Paul E. McKenney 1 participant 1 message Dec 5, 2015

lore
Share & tools
lore
#0 lore raw

cover Miscellaneous fixes for 4.5

Hello!

This series contains miscellaneous fixes for 4.5:

1. Move lock_class_key to local scope within rcu_init_one().

2. Make rcu/tree_trace.c explicitly non-modular, courtesy of
Paul Gortmaker.

3. Save a line of code by streamlining rcu_sched_qs() control flow.

4. Remove lock-acquisition loop from rcu_read_unlock_special(),
but leave WARN_ON_ONCE().

5. Fix obsolete rcu_bootup_announce_oddness() comment.

6. Avoid tick_nohz_active checks on NOCBs CPUs, thus reducing
to/from-idle latency.

7. Stop disabling interrupts in scheduler fastpaths.

8. Eliminate unused rcu_init_one() "rda" argument.

9. Make cpu_needs_another_gp() be bool.

10. Don't redundantly disable irqs in rcu_irq_{enter,exit}(),
thus improving interrupt latency slightly.

11. Fix comment for rcu_dereference_raw_notrace(), courtesy of
Alexey Kardashevskiy.

12. Move wakeup out from under rnp->lock, courtesy of Peter Zijlstra.

13. Make rcu_gp_init() be bool.

Thanx, Paul

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

 b/include/linux/rcupdate.h   |    6 +-
 b/include/linux/rcutiny.h    |    8 ++
 b/include/linux/rcutree.h    |    4 +
 b/include/linux/tracepoint.h |    4 -
 b/kernel/rcu/tree.c          |  128 +++++++++++++++++++++++--------------------
 b/kernel/rcu/tree_plugin.h   |   44 +++++---------
 b/kernel/rcu/tree_trace.c    |   19 +-----
 b/kernel/sched/core.c        |    6 +-
 8 files changed, 110 insertions(+), 109 deletions(-)