Skip to contentSkip to conversation

workqueue: Changes for v6.18

GIT PULL Merged Tejun Heo 2 participants 2 messages Sep 26, 2025 – Sep 30, 2025

lore
Share & tools
lore

Tejun Heo

author
#0 lore raw

The following changes since commit b19a97d57c15643494ac8bfaaa35e3ee472d41da:

Merge tag 'pull-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs (2025-08-19 10:12:10 -0700)

are available in the Git repository at:

https://git.kernel.org/pub/scm/linux/kernel/git/tj/wq.git tags/wq-for-6.18

for you to fetch changes up to 0950c64ae38661bd97127e9aa0522f1624f82006:

workqueue: fix texinfodocs warning for WQ_* flags reference (2025-09-22 05:37:20 -1000)

----------------------------------------------------------------
workqueue: Changes for v6.18

- WQ_PERCPU was added to remaining alloc_workqueue() users and system_wq usage was replaced with system_percpu_wq and system_unbound_wq with system_dfl_wq. These are equivalent conversions with no functional changes, preparing for switching default to unbound workqueues from percpu.

- A handshake mechanism was added for canceling BH workers to avoid live lock scenarios under PREEMPT_RT.

- Unnecessary rcu_read_lock/unlock() calls were dropped in wq_watchdog_timer_fn() and workqueue_congested().

- Documentation was fixed to resolve texinfodocs warnings.

----------------------------------------------------------------
Kriish Sharma (1):
workqueue: fix texinfodocs warning for WQ_* flags reference

Marco Crivellari (3):
workqueue: replace use of system_unbound_wq with system_dfl_wq
workqueue: replace use of system_wq with system_percpu_wq
workqueue: WQ_PERCPU added to alloc_workqueue users

Sebastian Andrzej Siewior (1):
workqueue: Provide a handshake for canceling BH workers

Zqiang (2):
workqueue: Remove redundant rcu_read_lock/unlock() in workqueue_congested()
workqueue: Remove rcu_read_lock/unlock() in wq_watchdog_timer_fn()

 include/linux/workqueue.h | 32 +++++++++----------
 kernel/workqueue.c        | 80 +++++++++++++++++++++++++++++++----------------
 2 files changed, 69 insertions(+), 43 deletions(-)