Re: [PATCH v2] sched_ext: Fix stale errno in scx_sub_enable_workfn()
From: Tejun Heo
Date: Wed Jul 22 2026 - 14:37:19 EST
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