diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2024-10-31 15:04:08 +0300 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2024-11-02 12:14:31 +0300 |
commit | c163e40af9b2331b2c629fd4ec8b703ed4d4ae39 (patch) | |
tree | 3356239844664919c30a4253fa00a48a3738cbd5 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | d44d26987bb3df6d76556827097fc9ce17565cb8 (diff) | |
download | linux-c163e40af9b2331b2c629fd4ec8b703ed4d4ae39.tar.xz |
timekeeping: Always check for negative motion
clocksource_delta() has two variants. One with a check for negative motion,
which is only selected by x86. This is a historic leftover as this function
was previously used in the time getter hot paths.
Since 135225a363ae timekeeping_cycles_to_ns() has unconditional protection
against this as a by-product of the protection against 64bit math overflow.
clocksource_delta() is only used in the clocksource watchdog and in
timekeeping_advance(). The extra conditional there is not hurting anyone.
Remove the config option and unconditionally prevent negative motion of the
readout.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: John Stultz <jstultz@google.com>
Link: https://lore.kernel.org/all/20241031120328.599430157@linutronix.de
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions