]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
sched_ext: Replace system_unbound_wq with system_dfl_wq in scx_kobj_release()
authorTejun Heo <tj@kernel.org>
Mon, 9 Mar 2026 20:06:02 +0000 (10:06 -1000)
committerTejun Heo <tj@kernel.org>
Mon, 9 Mar 2026 20:06:34 +0000 (10:06 -1000)
c2a57380df9d ("sched: Replace use of system_unbound_wq with system_dfl_wq")
converted system_unbound_wq usages in ext.c but missed the queue_rcu_work()
call in scx_kobj_release() which was added later by the dynamic scx_sched
allocation conversion. Apply the same conversion.

Signed-off-by: Tejun Heo <tj@kernel.org>
Cc: Marco Crivellari <marco.crivellari@suse.com>
kernel/sched/ext.c

index b35b98020f3b2b9aef4a658f0e69dc8124d089ac..07476355bfd52d6eebb872e1ef1f24fabd37ef1d 100644 (file)
@@ -4546,7 +4546,7 @@ static void scx_kobj_release(struct kobject *kobj)
        struct scx_sched *sch = container_of(kobj, struct scx_sched, kobj);
 
        INIT_RCU_WORK(&sch->rcu_work, scx_sched_free_rcu_work);
-       queue_rcu_work(system_unbound_wq, &sch->rcu_work);
+       queue_rcu_work(system_dfl_wq, &sch->rcu_work);
 }
 
 static ssize_t scx_attr_ops_show(struct kobject *kobj,