diff options
| author | Thomas Gleixner <tglx@kernel.org> | 2026-02-24 19:35:42 +0300 |
|---|---|---|
| committer | Peter Zijlstra <peterz@infradead.org> | 2026-02-27 18:40:04 +0300 |
| commit | 0a93d30861617ecf207dcc4c6c736435fac36dae (patch) | |
| tree | 0f4a976d147de5687b07f04616fae29dc10217ea /include/linux/timerqueue.h | |
| parent | d19ff16c11db38f3ee179d72751fb9b340174330 (diff) | |
| download | linux-0a93d30861617ecf207dcc4c6c736435fac36dae.tar.xz | |
hrtimer: Provide a static branch based hrtimer_hres_enabled()
The scheduler evaluates this via hrtimer_is_hres_active() every time it has
to update HRTICK. This needs to follow three pointers, which is expensive.
Provide a static branch based mechanism to avoid that.
Signed-off-by: Thomas Gleixner <tglx@kernel.org>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://patch.msgid.link/20260224163429.136503358@kernel.org
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions
