]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
hrtimer: Separate remove/enqueue handling for local timers
authorThomas Gleixner <tglx@kernel.org>
Tue, 24 Feb 2026 16:37:38 +0000 (17:37 +0100)
committerPeter Zijlstra <peterz@infradead.org>
Fri, 27 Feb 2026 15:40:11 +0000 (16:40 +0100)
commit85a690d1c19cc266eed74ec3fcdaacadc03ed1b2
treed771dc5e16b0d10590d3d259c4027dfc0c7c0e46
parentc939191457fead7bce2f991fe5bf39d4d5dde90f
hrtimer: Separate remove/enqueue handling for local timers

As the base switch can be avoided completely when the base stays the same
the remove/enqueue handling can be more streamlined.

Split it out into a separate function which handles both in one go which is
way more efficient and makes the code simpler to follow.

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