diff options
| author | Thomas Gleixner <tglx@kernel.org> | 2026-02-24 17:38:23 +0100 |
|---|---|---|
| committer | Peter Zijlstra <peterz@infradead.org> | 2026-02-27 16:40:14 +0100 |
| commit | b95c4442b02162904e9012e670b602ebeb3c6c1b (patch) | |
| tree | c0b9daca1bf6eb0b7c97dc4cc09acd79419de459 /lib/timerqueue.c | |
| parent | 15dd3a9488557d3e6ebcecacab79f4e56b69ab54 (diff) | |
hrtimer: Avoid re-evaluation when nothing changed
Most times there is no change between hrtimer_interrupt() deferring the rearm
and the invocation of hrtimer_rearm_deferred(). In those cases it's a pointless
exercise to re-evaluate the next expiring timer.
Cache the required data and use it if nothing changed.
Signed-off-by: Thomas Gleixner <tglx@kernel.org>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://patch.msgid.link/20260224163431.338569372@kernel.org
Diffstat (limited to 'lib/timerqueue.c')
0 files changed, 0 insertions, 0 deletions
