summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2026-03-06 07:58:04 -1000
committerTejun Heo <tj@kernel.org>2026-03-06 07:58:04 -1000
commitcde94c032b32be773ef05db9847be6f02fb123f0 (patch)
tree4b8f61af36bacb383376527bd1b8e3c793a7ced9 /include
parent34ecfb355104c29734c124b35ffd598a49e62156 (diff)
sched_ext: Make watchdog sub-sched aware
Currently, the watchdog checks all tasks as if they are all on scx_root. Move scx_watchdog_timeout inside scx_sched and make check_rq_for_timeouts() use the timeout from the scx_sched associated with each task. refresh_watchdog() is added, which determines the timer interval as half of the shortest watchdog timeouts of all scheds and arms or disarms it as necessary. Every scx_sched instance has equivalent or better detection latency while sharing the same timer. Signed-off-by: Tejun Heo <tj@kernel.org> Reviewed-by: Andrea Righi <arighi@nvidia.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions