]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ovpn: Replace use of system_wq with system_percpu_wq
authorMarco Crivellari <marco.crivellari@suse.com>
Wed, 24 Dec 2025 15:50:06 +0000 (16:50 +0100)
committerJakub Kicinski <kuba@kernel.org>
Thu, 5 Feb 2026 04:41:38 +0000 (20:41 -0800)
commitf8a062b25586675dd82620735387063a838aa71f
treee2bf358ec7d71d4ef9803853d90057e6062d3207
parenta34b0e4e21d6be3c3d620aa7f9dfbf0e9550c19e
ovpn: Replace use of system_wq with system_percpu_wq

This patch continues the effort to refactor workqueue APIs, which has begun
with the changes introducing new workqueues and a new alloc_workqueue flag:

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

The point of the refactoring is to eventually alter the default behavior of
workqueues to become unbound by default so that their workload placement is
optimized by the scheduler.

Before that to happen after a careful review and conversion of each individual
case, workqueue users must be converted to the better named new workqueues with
no intended behaviour changes:

   system_wq -> system_percpu_wq
   system_unbound_wq -> system_dfl_wq

This way the old obsolete workqueues (system_wq, system_unbound_wq) can be
removed in the future.

Suggested-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Marco Crivellari <marco.crivellari@suse.com>
Acked-by: Antonio Quartulli <antonio@openvpn.net>
Link: https://patch.msgid.link/20251224155006.114824-1-marco.crivellari@suse.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ovpn/peer.c