diff options
| author | Thomas Gleixner <tglx@kernel.org> | 2026-02-24 17:38:28 +0100 |
|---|---|---|
| committer | Peter Zijlstra <peterz@infradead.org> | 2026-02-27 16:40:14 +0100 |
| commit | eddffab8282e388dddf032f3295fcec87eb08095 (patch) | |
| tree | e90eefaeb90373f178d265a2ce7b4d52734c3e2b /lib/timerqueue.c | |
| parent | b95c4442b02162904e9012e670b602ebeb3c6c1b (diff) | |
hrtimer: Keep track of first expiring timer per clock base
Evaluating the next expiry time of all clock bases is cache line expensive
as the expiry time of the first expiring timer is not cached in the base
and requires to access the timer itself, which is definitely in a different
cache line.
It's way more efficient to keep track of the expiry time on enqueue and
dequeue operations as the relevant data is already in the cache at that
point.
Signed-off-by: Thomas Gleixner <tglx@kernel.org>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://patch.msgid.link/20260224163431.404839710@kernel.org
Diffstat (limited to 'lib/timerqueue.c')
0 files changed, 0 insertions, 0 deletions
