timers/nohz cleanups and hotplug reorganization
Status from this message: The following commit has been merged into the timers/core branch of tip:
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest16 patches 2 repliesApplied
- v215 patches 3 repliesSuperseded
- v115 patches 20 repliesSuperseded
Changes since v3 from the cover letter
* Rebase against latest tip:timers/core (after tmigr introduction)
* New patch "timers: Assert no next dyntick timer look-up while CPU"
Patches in v3 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/16 | tick/nohz: Remove duplicate between tick_nohz_switch_to_nohz() and tick_setup_sched_timer()kernel/ kernel/ kernel/ | +20 | 1 reply | |
| 2/16 | tick/nohz: Remove duplicate between lowres and highres handlerskernel/ | +36 | 1 reply | |
| 3/16 | tick: Remove useless oneshot ifdefferykernel/ | +1 | 0 replies | |
| 4/16 | tick: Use IS_ENABLED() whenever possiblekernel/ kernel/ | +6 | 0 replies | |
| 5/16 | tick: s/tick_nohz_stop_sched_tick/tick_nohz_full_stop_tickkernel/ | +2 | 0 replies | |
| 6/16 | tick: No need to clear ts->next_tick againkernel/ | +0 | 0 replies | |
| 7/16 | tick: Start centralizing tick related CPU hotplug operationsinclude/ include/ kernel/ +1 more | +23 | 0 replies | |
| 8/16 | tick: Move tick cancellation up to CPUHP_AP_TICK_DYINGkernel/ kernel/ | +2 | 0 replies | |
| 9/16 | tick: Move broadcast cancellation up to CPUHP_AP_TICK_DYINGinclude/ kernel/ kernel/ +1 more | +5 | 0 replies | |
| 10/16 | tick: Assume the tick can't be stopped in NOHZ_MODE_INACTIVE modekernel/ | +1 | 0 replies | |
| 11/16 | tick: Move got_idle_tick away from common flagskernel/ | +1 | 0 replies | |
| 12/16 | tick: Move individual bit features to debuggable mask accesseskernel/ kernel/ kernel/ | +73 | 0 replies | |
| 13/16 | tick: Split nohz and highres features from nohz_modekernel/ kernel/ kernel/ +1 more | +26 | 0 replies | |
| 14/16 | tick: Shut down low-res tick from dying CPUkernel/ kernel/ kernel/ | +29 | 0 replies | |
| 15/16 | tick: Assume timekeeping is correctly handed over upon last offline idle callinclude/ kernel/ kernel/ +2 more | +8 | 0 replies | |
| 16/16 | timers: Assert no next dyntick timer look-up while CPU is offlinekernel/ | +3 | 0 replies |
Reviews trailers per patch
15 of 16 patches have a Reviewed-by or Acked-by.
| Patch | Thomas Gleixner |
|---|---|
| 1/16 | R-b |
| 2/16 | R-b |
| 3/16 | R-b |
| 4/16 | R-b |
| 5/16 | R-b |
| 6/16 | R-b |
| 7/16 | R-b |
| 8/16 | R-b |
| 9/16 | R-b |
| 10/16 | R-b |
| 11/16 | R-b |
| 12/16 | R-b |
| 13/16 | R-b |
| 14/16 | R-b |
| 15/16 | R-b |
| 16/16 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 00/16 v3] timers/nohz cleanups and hotplug reorganization
Hi,
Here are some cleanups here and there and also some more rational tick related CPU hotplug code reorganization.
Changes since v3:
* Rebase against latest tip:timers/core (after tmigr introduction)
* New patch "timers: Assert no next dyntick timer look-up while CPU"
git://git.kernel.org/pub/scm/linux/kernel/git/frederic/linux-dynticks.git
timers/hotplug-v3
HEAD: a0d432ebab0b7f75e03049d5d2baabff7f39ee1d
Frederic Weisbecker (14):
tick: Remove useless oneshot ifdeffery
tick: Use IS_ENABLED() whenever possible
tick: s/tick_nohz_stop_sched_tick/tick_nohz_full_stop_tick
tick: No need to clear ts->next_tick again
tick: Start centralizing tick related CPU hotplug operations
tick: Move tick cancellation up to CPUHP_AP_TICK_DYING
tick: Move broadcast cancellation up to CPUHP_AP_TICK_DYING
tick: Assume the tick can't be stopped in NOHZ_MODE_INACTIVE mode
tick: Move got_idle_tick away from common flags
tick: Move individual bit features to debuggable mask accesses
tick: Split nohz and highres features from nohz_mode
tick: Shut down low-res tick from dying CPU
tick: Assume timekeeping is correctly handed over upon last offline
idle call
timers: Assert no next dyntick timer look-up while CPU is offline
Peng Liu (2):
tick/nohz: Remove duplicate between tick_nohz_switch_to_nohz() and
tick_setup_sched_timer()
tick/nohz: Remove duplicate between lowres and highres handlers
include/linux/cpuhotplug.h | 1 + include/linux/tick.h | 16 +- kernel/cpu.c | 11 +- kernel/sched/idle.c | 1 - kernel/time/hrtimer.c | 4 +- kernel/time/tick-common.c | 31 ++-- kernel/time/tick-internal.h | 2 + kernel/time/tick-sched.c | 297 +++++++++++++++++------------------- kernel/time/tick-sched.h | 40 ++--- kernel/time/timer.c | 6 +- kernel/time/timer_list.c | 10 +- 11 files changed, 215 insertions(+), 204 deletions(-)
Signature · 1 line
2.43.0