diff options
| author | Marco Crivellari <marco.crivellari@suse.com> | 2025-10-29 19:56:42 +0300 |
|---|---|---|
| committer | Karol Wachowski <karol.wachowski@linux.intel.com> | 2025-10-30 10:40:40 +0300 |
| commit | 0f5b2982c3915941ab5c6637f01d531091c03ead (patch) | |
| tree | b0e3942f93bbd15d91009be78f080ac73b1de07d /include | |
| parent | 7b1a70c33d7d4b8273d7d78b2a82809eb905d50c (diff) | |
| download | linux-0f5b2982c3915941ab5c6637f01d531091c03ead.tar.xz | |
accel/ivpu: replace use of system_wq with system_percpu_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 consistency cannot be addressed without refactoring the API.
system_wq should be the per-cpu workqueue, yet in this name nothing makes
that clear, so replace system_wq with system_percpu_wq.
The old wq (system_wq) will be kept for a few release cycles.
Suggested-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Marco Crivellari <marco.crivellari@suse.com>
Signed-off-by: Karol Wachowski <karol.wachowski@linux.intel.com>
Link: https://patch.msgid.link/20251029165642.364488-3-marco.crivellari@suse.com
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
