Skip to content

timers/nohz: Fixes and cleanups v3

Frederic Weisbecker lkml 1 version Applied

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

  1. v1 Latest8 patches 4 repliesApplied

Changes since v2 from the cover letter

* Keep the monotonicity check against /proc/uptime first field
* Add monotonicity test between clock_gettime(CLOCK_BOOTTIME) and /proc/uptime

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/8timers/nohz: Restructure and reshuffle struct tick_schedkernel/time/tick-sched.h+41 -250 replies
2/8timers/nohz: Only ever update sleeptime from idle exitkernel/time/tick-sched.c+41 -620 replies
3/8timers/nohz: Protect idle/iowait sleep time under seqcountkernel/time/tick-sched.c kernel/time/tick-sched.h+17 -60 replies
4/8timers/nohz: Add a comment about broken iowait counter update racekernel/time/tick-sched.c+8 -21 reply
5/8timers/nohz: Remove middle-function __tick_nohz_idle_stop_tick()kernel/time/tick-sched.c+8 -120 replies
6/8MAINTAINERS: Remove stale email addressMAINTAINERS+1 -10 replies
7/8selftests/proc: Remove idle time monotonicity assertionstools/testing/selftests/proc/proc-uptime-001.c tools/testing/selftests/proc/proc-uptime-002.c tools/testing/selftests/proc/proc-uptime.h+14 -270 replies
8/8selftests/proc: Assert clock_gettime(CLOCK_BOOTTIME) VS /proc/uptime monotonicitytools/testing/selftests/proc/proc-uptime-001.c tools/testing/selftests/proc/proc-uptime-002.c tools/testing/selftests/proc/proc-uptime.h+47 -83 replies

Reviews trailers per patch

6 of 8 patches have a Reviewed-by or Acked-by.

PatchPeter Zijlstra (Intel)
1/8A-b
2/8A-b
3/8A-b
4/8A-b
5/8A-b
6/8A-b
7/8
8/8

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 0/8] timers/nohz: Fixes and cleanups v3

Try to (partially) fix the issue reported in https://lore.kernel.org/lkml/[email protected]/

Changes since v2:

* Keep the monotonicity check against /proc/uptime first field
* Add monotonicity test between clock_gettime(CLOCK_BOOTTIME) and /proc/uptime

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

HEAD: 45034144d493f62516285d7ec8bcd6408653d056

Thanks,
Frederic
---

Frederic Weisbecker (8):
timers/nohz: Restructure and reshuffle struct tick_sched timers/nohz: Only ever update sleeptime from idle exit
timers/nohz: Protect idle/iowait sleep time under seqcount timers/nohz: Add a comment about broken iowait counter update race timers/nohz: Remove middle-function __tick_nohz_idle_stop_tick()
MAINTAINERS: Remove stale email address
selftests/proc: Remove idle time monotonicity assertions selftests/proc: Assert clock_gettime(CLOCK_BOOTTIME) VS /proc/uptime monotonicity

 MAINTAINERS                                    |   2 +-
 kernel/time/tick-sched.c                       | 135 ++++++++++++-------------
 kernel/time/tick-sched.h                       |  67 +++++++-----
 tools/testing/selftests/proc/proc-uptime-001.c |  25 +++--
 tools/testing/selftests/proc/proc-uptime-002.c |  27 +++--
 tools/testing/selftests/proc/proc-uptime.h     |  28 ++---
 6 files changed, 159 insertions(+), 125 deletions(-)