Skip to content

Miscellaneous fixes for 3.16

Paul E. McKenney lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest0 of 3 patches 2 repliesIn review

Patches in v1 No applies recorded yet

None of the 3 patches the cover letter announces are in this archive.

Reviews trailers per patch

PatchJosh Triplett
SeriesR-b R-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/3] Miscellaneous fixes for 3.16

Hello!

This series provides miscellaneous fixes:

1. Apply ACCESS_ONCE() to unprotected ->gp_flags accesses.

2. Fix typo in comment, courtesy of Liu Ping Fan.

3. Make RCU CPU stall warnings print grace-period numbers in
signed format to improve readability of stall-warning output.

4. Make cpu_needs_another_gp() take future grace-period needs
into account.

5. Remove unused ->preemptible field from the rcu_data structure,
courtesty of Iulia Manda.

6. Apply ACCESS_ONCE() to unprotected ->jiffies_stall accesses,
courtesty of Iulia Manda.

7. Make callers responsible for grace-period kthread wakeup in
order to avoid potential silent grace-period stalls.

8. Remove "extern" from RCU function declarations, courtesy of
Iulia Manda.

9. Apply ACCESS_ONCE() to additional ->jiffies_stall accesses,
courtesy of Himangi Saraogi.

10. Add event tracing to dyntick_save_progress_counter(), courtesy
of Andreea-Cristina Bernat.

11. Make rcu_init_one() use nr_cpu_ids instead of NR_CPUS for
data-structure setup limit check, courtesy of Himangi Saraogi.

12. Remove redundant kfree_call_rcu() definition by using the
rcu_state pointer, courtesy of Andreea-Cristina Bernat.

13. Merge rcu_sched_force_quiescent_state() definition with
rcu_force_quiescent_state() by using the rcu_state pointer, courtesy of Andreea-Cristina Bernat.

14. Document RCU_INIT_POINTER()'s lack of ordering guarantees.

15. Automatically bind RCU's grace-period kthreads to timekeeping
CPU for NO_HZ_FULL builds.

16. Make large and small sysidle systems use equivalent state machine.

17. Remove duplicate resched_cpu() declaration, courtesy of
Pranith Kumar.

18. Replace deprecated __this_cpu_ptr() uses with raw_cpu_ptr(),
courtesy of Christoph Lameter.

19. Make softirq processing provide a quiescent state only once
per full pass over all softirqs rather than once per action, courtesy of Eric Dumazet.

Thanx, Paul

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

 b/include/linux/rcupdate.h |    5 
 b/kernel/rcu/tiny_plugin.h |    8 -
 b/kernel/rcu/tree.c        |  261 ++++++++++++++++++++++++++++-----------------
 b/kernel/rcu/tree.h        |    3 
 b/kernel/rcu/tree_plugin.h |  120 +++++---------------
 b/kernel/softirq.c         |    4 
 6 files changed, 206 insertions(+), 195 deletions(-)