Commit b8840942 authored by Tejun Heo's avatar Tejun Heo
Browse files

sched_ext: Replace system_unbound_wq with system_dfl_wq in scx_kobj_release()



c2a57380 ("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: default avatarTejun Heo <tj@kernel.org>
Cc: Marco Crivellari <marco.crivellari@suse.com>
parent 0e7cd9ce
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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,