Re: [PATCH v3 sched_ext/for-7.3 13/36] sched_ext: Defer scx_sched kobj sysfs add into the enable workfns
Tejun Heo <[email protected]>
| Newsgroups | dev.linux.lists.sched-ext,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <[email protected]> |
On Tue, 07 Jul 2026 00:31:34 +0000, [email protected] wrote: > - [High] Moving sysfs addition into the new `scx_sched_sysfs_add()` helper introduces a new silent failure path in `scx_sub_enable_workfn()` that leaves the sub-scheduler in a half-initialized zombie state. Correct - at this patch the errno-only failure path had no scx_error() to claim the exit, so scx_flush_disable_work() no-ops and the sub is left half-initialized. Fixed by adding an scx_error() at err_disable here (it previously only appeared in a later patch). Thanks. -- tejun