Skip to content

rcu/nocb updates v2

Frederic Weisbecker lkml stable 1 version Applied

Status from this message: Applied to 10/13, thank you both!

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest13 patches 25 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/13rcu/nocb: Fix potential missed nocb_timer rearmkernel/rcu/tree_plugin.h+5 -212 replies
2/13rcu/nocb: Disable bypass when CPU isn't completely offloadedinclude/linux/rcu_segcblist.h kernel/rcu/tree_plugin.h+33 -120 replies
3/13rcu/nocb: Remove stale comment above rcu_segcblist_offload()kernel/rcu/rcu_segcblist.c+1 -20 replies
4/13rcu/nocb: Move trace_rcu_nocb_wake() calls outside nocb_lock when possiblekernel/rcu/tree_plugin.h+3 -30 replies
5/13rcu/nocb: Merge nocb_timer to the rdp leaderkernel/rcu/tree.h kernel/rcu/tree_plugin.h+78 -653 replies
6/13timer: Revert "timer: Add timer_curr_running()"include/linux/timer.h kernel/time/timer.c+0 -160 replies
7/13rcu/nocb: Directly call __wake_nocb_gp() from bypass timerkernel/rcu/tree_plugin.h+3 -20 replies
8/13rcu/nocb: Allow de-offloading rdp leaderkernel/rcu/tree_plugin.h+0 -40 replies
9/13rcu/nocb: Cancel nocb_timer upon nocb_gp wakeupkernel/rcu/tree_plugin.h+4 -00 replies
10/13rcu/nocb: Delete bypass_timer upon nocb_gp wakeupkernel/rcu/tree_plugin.h+2 -05 replies
11/13rcu/nocb: Only cancel nocb timer if not pollingkernel/rcu/tree_plugin.h+7 -72 replies
12/13rcu/nocb: Prepare for finegrained deferred wakeupkernel/rcu/tree.c kernel/rcu/tree.h kernel/rcu/tree_plugin.h+10 -93 replies
13/13rcu/nocb: Unify timersinclude/trace/events/rcu.h kernel/rcu/tree.h kernel/rcu/tree_plugin.h+43 -560 replies

Reviews trailers per patch

2 of 13 patches have a Reviewed-by or Acked-by.

PatchNeeraj UpadhyayBoqun Feng
1/13R-b
2/13
3/13
4/13
5/13
6/13
7/13
8/13
9/13
10/13R-b
11/13
12/13
13/13

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 00/13] rcu/nocb updates v2

It's a v2 of the previous set (https://lore.kernel.org/lkml/[email protected]/)
minus the patches already applied in rcu/dev. And this is based on
latest rcu/dev.

Changelog since v1:

"rcu/nocb: Fix potential missed nocb_timer rearm"
* Remove nocb_defer_wakeup reset from do_nocb_deferred_wakeup_common() (paulmck)
* Only reset/del if the timer is actually armed
* Add secondary potential cause for missed rearm in the changelog

"rcu/nocb: Disable bypass when CPU isn't completely offloaded"
* Improve comments on state machine (paulmck)
* Add comment (a full quote from Paul) explaining why early flush is enough (paulmck)
* Move sanity check to the very end of deoffloading (paulmck)
* Clarify some comments about nocb locking on de-offloading (paulmck)

"rcu/nocb: Remove stale comment above rcu_segcblist_offload()"
* New patch, reported by (paulmck)

"rcu/nocb: Merge nocb_timer to the rdp leader"
* Remove rcu_running_nocb_timer() and its use in rcu_rdp_is_offloaded() debugging since the timer doesn't refer to any rdp offloading anymore.
* Only delete nocb_timer when armed, in nocb_gp_wait()
* Clarify some comments about nocb locking on de-offloading (paulmck)
* Remove stale code "re-enabling" nocb timer on offloading. Not necessary anymore and even buggy.

"timer: Revert "timer: Add timer_curr_running()""
* New patch

git://git.kernel.org/pub/scm/linux/kernel/git/frederic/linux-dynticks.git

	rcu/dev-v2

HEAD: 925ee3076eb694db893e2c6664d90ad8fb9cb6e5

Thanks,
Frederic
---

Frederic Weisbecker (13):
rcu/nocb: Fix potential missed nocb_timer rearm
rcu/nocb: Disable bypass when CPU isn't completely offloaded rcu/nocb: Remove stale comment above rcu_segcblist_offload() rcu/nocb: Move trace_rcu_nocb_wake() calls outside nocb_lock when possible rcu/nocb: Merge nocb_timer to the rdp leader
timer: Revert "timer: Add timer_curr_running()"
rcu/nocb: Directly call __wake_nocb_gp() from bypass timer rcu/nocb: Allow de-offloading rdp leader
rcu/nocb: Cancel nocb_timer upon nocb_gp wakeup
rcu/nocb: Delete bypass_timer upon nocb_gp wakeup
rcu/nocb: Only cancel nocb timer if not polling
rcu/nocb: Prepare for finegrained deferred wakeup
rcu/nocb: Unify timers

 include/linux/rcu_segcblist.h |   7 +-
 include/linux/timer.h         |   2 -
 include/trace/events/rcu.h    |   1 +
 kernel/rcu/rcu_segcblist.c    |   3 +-
 kernel/rcu/tree.c             |   2 +-
 kernel/rcu/tree.h             |   9 +-
 kernel/rcu/tree_plugin.h      | 233 +++++++++++++++++++++++-------------------
 kernel/time/timer.c           |  14 ---
 8 files changed, 141 insertions(+), 130 deletions(-)