diff options
| author | Wanwu Li <liwanwu@kylinos.cn> | 2026-08-27 16:07:36 +0800 |
|---|---|---|
| committer | Tejun Heo <tj@kernel.org> | 2026-08-31 06:47:26 -1000 |
| commit | 23761359861ca4bb087540937dfea8b0716914c2 (patch) | |
| tree | ee3f9a3358103a2a99d1db6f322ba067efb88929 /include/linux | |
| parent | 6586705bc2dc06908309bf65d79efa53a347c9f0 (diff) | |
sched_ext: Fix timer pinning and return value in scx_central
central_timerfn() re-arms the timer with a hardcoded
BPF_F_TIMER_CPU_PIN flag and ignores the return value, defeating
start_central_timer()'s -EINVAL fallback for kernels without the flag
(<6.7): on such kernels the first tick kills the timer permanently
with no diagnostic. Honor timer_pinned and check the return like
the initial arm does.
Fixes: 22a920209ab6 ("sched_ext: Implement tickless support")
Signed-off-by: Wanwu Li <liwanwu@kylinos.cn>
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
