]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
hrtimer: Rework next event evaluation
authorThomas Gleixner <tglx@kernel.org>
Tue, 24 Feb 2026 16:38:33 +0000 (17:38 +0100)
committerPeter Zijlstra <peterz@infradead.org>
Fri, 27 Feb 2026 15:40:15 +0000 (16:40 +0100)
commit2bd1cc24fafc84be844c9ef66aa819d7dec285bf
tree9136f5c729353fa70203e939b87f9092cd2d62a7
parenteddffab8282e388dddf032f3295fcec87eb08095
hrtimer: Rework next event evaluation

The per clock base cached expiry time allows to do a more efficient
evaluation of the next expiry on a CPU.

Separate the reprogramming evaluation from the NOHZ idle evaluation which
needs to exclude the NOHZ timer to keep the reprogramming path lean and
clean.

Signed-off-by: Thomas Gleixner <tglx@kernel.org>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://patch.msgid.link/20260224163431.468186893@kernel.org
kernel/time/hrtimer.c