[PATCH v3 0/2] Replace system_unbound_wq with system_dfl_wq

From: Marco Crivellari

Date: Thu Apr 02 2026 - 09:49:02 EST


Hi,

Recently the workqueue code has been changed introducing two new workqueue,
system_percpu_wq and system_dfl_wq, as a future replacement for system_wq and
system_unbound_wq respectively.

The following, address the aforementioned changes in the Workqueue API:

- commit 128ea9f6ccfb ("workqueue: Add system_percpu_wq and system_dfl_wq")
- commit 930c2ea566af ("workqueue: Add new WQ_PERCPU flag")

The old workqueues will be removed in a future release cycle.

=== Introduced Changes by this series ===

1) [P 1-2] Replace uses of system_wq and system_unbound_wq

system_unbound_wq is to be used when locality is not required.
Nothing in its name make clear this should be used when locality is not
required, so system_unbound_wq has been replaced with system_dfl_wq.

Thanks!

---
Changes in v3:
- rebased on v7.0-rc6

- commit split in two: sched (kernel/sched/core.c) and sched_ext (kernel/sched/ext.c).

- improved commit logs

Changes in v2:
- rebase and improved commit logs

Marco Crivellari (2):
sched: replace use of system_unbound_wq with system_dfl_wq
sched_ext: Replace use of system_unbound_wq with system_dfl_wq

kernel/sched/core.c | 4 ++--
kernel/sched/ext.c | 6 +++---
2 files changed, 5 insertions(+), 5 deletions(-)

--
2.53.0