summaryrefslogtreecommitdiff
path: root/Documentation/gpu/intel-display/git@git.tavy.me:linux.git
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2026-07-09 11:08:13 -1000
committerTejun Heo <tj@kernel.org>2026-07-09 11:08:13 -1000
commitdb4e9defd2e8620abee04cfe5809c0bcd6ecf06a (patch)
tree734d80788e626df0e44ed4db12f3053e60b19a49 /Documentation/gpu/intel-display/git@git.tavy.me:linux.git
parentcfe950d79f524e72bc263f2b153a6d905a75a794 (diff)
sched_ext: Record an error on errno-only sub-enable failure
scx_sub_enable_workfn() has several failure paths that only return an errno (e.g. -ENOMEM from an allocation) and jump to err_disable without calling scx_error(). scx_flush_disable_work() runs the disable, and thus ops.exit(), only when an error has been recorded, so an errno-only failure leaves the half-initialized sub-scheduler linked. Record an error at the err_disable sink so every errno-only failure runs the disable path. Fixes: ebeca1f930ea ("sched_ext: Introduce cgroup sub-sched support") Signed-off-by: Tejun Heo <tj@kernel.org> Reviewed-by: Andrea Righi <arighi@nvidia.com>
Diffstat (limited to 'Documentation/gpu/intel-display/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions