Skip to content

Forward-progress changes for v5.1

Paul E. McKenney lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest12 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/12rcu: Accommodate zero jiffies_till_first_fqs and kthread kickingkernel/rcu/tree.c+1 -10 replies
2/12rcu: Move rcu_cpu_kthread_task to rcu_data structurekernel/rcu/tree.h kernel/rcu/tree_plugin.h+10 -70 replies
3/12rcu: Move rcu_cpu_kthread_status to rcu_data structurekernel/rcu/tree.h kernel/rcu/tree_plugin.h+5 -50 replies
4/12rcu: Remove unused rcu_cpu_kthread_loops per-CPU variablekernel/rcu/tree.h kernel/rcu/tree_plugin.h+0 -30 replies
5/12rcu: Move rcu_cpu_has_work to rcu_data structurekernel/rcu/tree.h kernel/rcu/tree_plugin.h+5 -130 replies
6/12rcu: Remove unused rcu_cpu_kthread_cpu per-CPU variablekernel/rcu/tree.h+0 -40 replies
7/12rcu: Update NOCB commentskernel/rcu/tree_plugin.h+16 -170 replies
8/12rcu: Improve diagnostics for failed RCU grace-period startkernel/rcu/tree.c kernel/rcu/tree.h+34 -230 replies
9/12rcu: Protect rcu_check_gp_kthread_starvation() access to ->gp_flagskernel/rcu/tree.c+1 -10 replies
10/12rcu: Add sysrq rcu_node-dump capabilityDocumentation/admin-guide/kernel-parameters.txt kernel/rcu/tree.c+30 -00 replies
11/12rcu: Do RCU GP kthread self-wakeup from softirq and interruptkernel/rcu/tree.c+14 -60 replies
12/12rcu: Prevent needless ->gp_seq_needed update in __note_gp_changes()kernel/rcu/tree.c+1 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH tip/core/rcu 0/12] Forward-progress changes for v5.1

Hello!

This series contains commits that improve RCU's ability to make forward progress on grace periods:

1. Accommodate zero jiffies_till_first_fqs and kthread kicking.

2-6. Move per-CPU variables to rcu_data structure, now that rcu_data
is strictly per-CPU itself due to there only being one flavor. Also remove rcu_cpu_kthread_loops and rcu_cpu_kthread_cpu, which are unused.

7. Update outdated NOCB comments.

8. Improve diagnostics for failed RCU grace-period start.

9. Protect rcu_check_gp_kthread_starvation() access to ->gp_flags.

10. Add sysrq rcu_node-dump capability to assist with debugging of
forward-progress issues.

11. Do RCU GP kthread self-wakeup from softirq and interrupt, thus
fixing a grace-period hang, courtesy of Jun Zhang.

12. Prevent needless ->gp_seq_needed update in __note_gp_changes(),
courtesy of Jun Zhang.

Thanx, Paul

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

 Documentation/admin-guide/kernel-parameters.txt |    5 +
 kernel/rcu/tree.c                               |  106 ++++++++++++++++--------
 kernel/rcu/tree.h                               |   19 ++--
 kernel/rcu/tree_plugin.h                        |   68 ++++++---------
 4 files changed, 117 insertions(+), 81 deletions(-)