diff options
author | Thomas Gleixner <[email protected]> | 2024-10-31 13:04:08 +0100 |
---|---|---|
committer | Thomas Gleixner <[email protected]> | 2024-11-02 10:14:31 +0100 |
commit | c163e40af9b2331b2c629fd4ec8b703ed4d4ae39 (patch) | |
tree | 3356239844664919c30a4253fa00a48a3738cbd5 /tools/perf/scripts/python/parallel-perf.py | |
parent | d44d26987bb3df6d76556827097fc9ce17565cb8 (diff) |
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 <[email protected]>
Acked-by: John Stultz <[email protected]>
Link: https://lore.kernel.org/all/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/parallel-perf.py')
0 files changed, 0 insertions, 0 deletions