commit | bcee1bdeaf62252919f7a26da0c31db6bf1f1dd1 | [log] [tgz] |
---|---|---|
author | Tejun Heo <tj@kernel.org> | Wed Apr 23 13:35:59 2025 -1000 |
committer | Tejun Heo <tj@kernel.org> | Wed Apr 23 13:35:59 2025 -1000 |
tree | b3a052ee585a20e8ea02a37378a46576fe0e7f5d | |
parent | 0328e9717ac995cd302f60a68ba518d4e3c310b5 [diff] |
sched_ext: Clean up SCX_EXIT_NONE handling in scx_disable_workfn() With the global states and disable machinery moved into scx_sched, scx_disable_workfn() can only be scheduled and run for the specific scheduler instance. This makes it impossible for scx_disable_workfn() to see SCX_EXIT_NONE. Turn that condition into WARN_ON_ONCE(). Signed-off-by: Tejun Heo <tj@kernel.org>