]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
hrtimer: Re-arrange hrtimer_interrupt()
authorPeter Zijlstra <peterz@infradead.org>
Tue, 24 Feb 2026 16:37:48 +0000 (17:37 +0100)
committerPeter Zijlstra <peterz@infradead.org>
Fri, 27 Feb 2026 15:40:12 +0000 (16:40 +0100)
commit2889243848560b6b0211aba401d2fc122070ba2f
treec25bc84f5f511f02c691633052f4ef68f78528a2
parent8e10f6b81afbf60e48bb4a71676ede4c7e374e79
hrtimer: Re-arrange hrtimer_interrupt()

Rework hrtimer_interrupt() such that reprogramming is split out into an
independent function at the end of the interrupt.

This prepares for reprogramming getting delayed beyond the end of
hrtimer_interrupt().

Notably, this changes the hang handling to always wait 100ms instead of
trying to keep it proportional to the actual delay. This simplifies the
state, also this really shouldn't be happening.

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