Files
linux/kernel/time
Thomas Gleixner 372acbbaa8 tick/sched: Use tick_next_period for lockless quick check
No point in doing calculations.

   tick_next_period = last_jiffies_update + tick_period

Just check whether now is before tick_next_period to figure out whether
jiffies need an update.

Add a comment why the intentional data race in the quick check is safe or
not so safe in a 32bit corner case and why we don't worry about it.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/r/20201117132006.337366695@linutronix.de
2020-11-19 10:48:29 +01:00
..
2020-11-16 15:20:01 +01:00
2020-01-14 12:20:48 +01:00
2020-02-21 11:22:15 -08:00
2018-11-23 11:51:21 +01:00
2020-11-16 15:20:01 +01:00