[PATCH 0/8] timers/nohz: Fixes and cleanups v3

From: Frederic Weisbecker
Date: Wed Feb 22 2023 - 09:47:28 EST


Try to (partially) fix the issue reported in https://lore.kernel.org/lkml/20230128020051.2328465-1-liaoyu15@xxxxxxxxxx/

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(-)