summaryrefslogtreecommitdiff
path: root/include/linux/node.h
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2026-03-06 20:58:03 +0300
committerTejun Heo <tj@kernel.org>2026-03-06 20:58:03 +0300
commitc1743da43cf52caa412413af06eb56a547086c7a (patch)
treecda7ca7a352d68980d8f28932a334341b8ba82e9 /include/linux/node.h
parente1cccf365ef4b8927d002e424e95fd4e04e2d966 (diff)
downloadlinux-c1743da43cf52caa412413af06eb56a547086c7a.tar.xz
sched_ext: Move aborting flag to per-scheduler field
The abort state was tracked in the global scx_aborting flag which was used to break out of potential live-lock scenarios when an error occurs. With hierarchical scheduling, each scheduler instance must track its own abort state independently so that an aborting scheduler doesn't interfere with others. Move the aborting flag into struct scx_sched and update all access sites. The early initialization check in scx_root_enable() that warned about residual aborting state is no longer needed as each scheduler instance now starts with a clean state. Signed-off-by: Tejun Heo <tj@kernel.org> Reviewed-by: Andrea Righi <arighi@nvidia.com>
Diffstat (limited to 'include/linux/node.h')
0 files changed, 0 insertions, 0 deletions