Re: [PATCH v2] sched_ext: Fix stale errno in scx_sub_enable_workfn()

Tejun Heo <[email protected]> Wed, 22 Jul 2026 08:35:38 -1000
Newsgroups dev.linux.lists.sched-ext,org.kernel.vger.linux-kernel
Message-ID <[email protected]>
Hello,

On Wed, Jul 22, 2026 at 06:03:52PM +0800, Cui Jian wrote:
> The nesting depth check and the cgroup online check in
> scx_sub_enable_workfn() reach err_disable without setting ret, so
> the fallback error added by commit db4e9defd2e8 ("sched_ext: Record
> an error on errno-only sub-enable failure") reports
> "scx_sub_enable() failed (0)".

Applied to sched_ext/for-7.3.

Thanks.

-- 
tejun