1
0
mirror of https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git synced 2026-01-12 01:20:14 +00:00
Marco Crivellari e40ad215ce driver core: replace use of system_unbound_wq with system_dfl_wq
Currently if a user enqueue a work item using schedule_delayed_work() the
used wq is "system_wq" (per-cpu wq) while queue_delayed_work() use
WORK_CPU_UNBOUND (used when a cpu is not specified). The same applies to
schedule_work() that is using system_wq and queue_work(), that makes use
again of WORK_CPU_UNBOUND.

This lack of consistentcy cannot be addressed without refactoring the API.

This continues the effort to refactor workqueue APIs, which began with
the introduction of new workqueues and a new alloc_workqueue flag in:

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

Switch to using system_dfl_wq because system_unbound_wq is going away as part of
a workqueue restructuring.

Suggested-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Marco Crivellari <marco.crivellari@suse.com>
Link: https://patch.msgid.link/20251114141618.172154-2-marco.crivellari@suse.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2025-11-26 15:21:29 +01:00
..
2025-10-25 09:35:26 -07:00
2025-10-24 12:48:19 -07:00
2025-10-07 08:40:15 -07:00
2025-10-06 10:37:06 -07:00
2025-10-23 22:30:01 +02:00
2025-10-18 08:18:18 -10:00
2025-10-01 00:00:45 +00:00
2025-10-19 18:56:14 -07:00
2025-10-08 09:44:38 -07:00
2025-10-03 18:18:48 -07:00
2025-10-03 18:48:02 -07:00
2025-10-26 10:33:46 -07:00
2025-10-04 15:50:37 -07:00
2025-10-06 11:17:18 -07:00
2025-10-24 16:43:08 -07:00
2025-10-07 08:59:25 -07:00
2025-10-06 10:34:22 -07:00
2025-10-06 10:41:03 -07:00
2025-10-01 17:32:51 -07:00
2025-10-01 11:34:12 -07:00
2025-10-01 12:04:12 -07:00
2025-10-04 15:45:17 -07:00
2025-10-01 17:32:51 -07:00
2025-10-11 11:56:47 -07:00
2025-10-06 10:32:22 -07:00
2025-10-11 11:49:00 -07:00
2025-10-17 15:26:52 +02:00
2025-10-11 11:49:00 -07:00
2025-10-07 08:40:15 -07:00
2025-10-24 13:52:58 +02:00
2025-10-01 07:24:43 -04:00
2025-10-04 08:48:16 -07:00
2025-10-06 11:00:30 -07:00
2025-10-03 17:41:12 -07:00
2025-10-07 08:40:15 -07:00