timekeeping: Fall cleaning
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
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | timekeeping: Remove CONFIG_DEBUG_TIMEKEEPINGarch/ include/ kernel/ +2 more | +3 | 1 reply | |
| 2/2 | timekeeping: Always check for negative motionarch/ kernel/ kernel/ | +0 | 14 replies |
Reviews trailers per patch
All 2 patches have a Reviewed-by or Acked-by.
| Patch | John Stultz | Guenter Roeck |
|---|---|---|
| 1/2 | A-b | |
| 2/2 | A-b | T-b T-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [patch 0/2] timekeeping: Fall cleaning
The sanity checks under CONFIG_TIMEKEEPING_DEBUG have served their purpose for some time, but now that timekeeping handles potential 64bit math overflow correctly and is unconditionally protected against negative motion of time, these checks have no real value anymore.
CONFIG_CLOCKSOURCE_VALIDATE_LAST_CYCLE, which contains a protection against negative motion of time is only used on x86. It used to be in the timekeeper hot path, but now it's only in relative slow paths (watchdog and timekeeping_advance()). This protection is useful in general and the extra conditional in these usage sites does not really matter.
This series removes CONFIG_TIMEKEEPING_DEBUG and related code and makes the negative protected variant of clocksource_delta() unconditional.
The series applies on top of
git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git timers/core
Thanks,
tglx
--- arch/riscv/configs/defconfig | 1 arch/x86/Kconfig | 1 include/linux/timekeeper_internal.h | 16 -- kernel/time/Kconfig | 5 kernel/time/timekeeping.c | 108 -------------------- kernel/time/timekeeping_internal.h | 7 - lib/Kconfig.debug | 13 -- tools/testing/selftests/wireguard/qemu/debug.config | 1 8 files changed, 3 insertions(+), 149 deletions(-)