mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v2 0/2] Add WQ_PERCPU to alloc_workqueue users
@ 2026-02-23  9:29 Marco Crivellari
  2026-02-23  9:29 ` [PATCH v2 1/2] block: " Marco Crivellari
                   ` (5 more replies)
  0 siblings, 6 replies; 8+ messages in thread
From: Marco Crivellari @ 2026-02-23  9:29 UTC (permalink / raw)
  To: linux-kernel
  Cc: Tejun Heo, Lai Jiangshan, Frederic Weisbecker,
	Sebastian Andrzej Siewior, Marco Crivellari, Michal Hocko,
	Jens Axboe

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, and a new flag, alloc_workqueue() WQ_PERCPU.
This flag must be used when WQ_UNBOUND is not present, making explicit the
workqueue is per-cpu.

The changes has been introduced by:
    commit 128ea9f6ccfb ("workqueue: Add system_percpu_wq and system_dfl_wq")
    commit 930c2ea566af ("workqueue: Add new WQ_PERCPU flag")

The old workqueue(s) will be removed in a next release cycle.

=== Introduced Changes by this series ===

1) [P 1-2] add WQ_PERCPU to alloc_workqueue()

    This change adds a new WQ_PERCPU flag to explicitly request
    alloc_workqueue() to be per-cpu when WQ_UNBOUND has not been specified.


Thanks!

---
Changes in v2:
- patches unified in 1 series
- rebase on v7.0-rc1


Marco Crivellari (2):
  block: Add WQ_PERCPU to alloc_workqueue users
  block/blk-throttle: Add WQ_PERCPU to alloc_workqueue users

 block/bio-integrity-auto.c | 2 +-
 block/bio.c                | 2 +-
 block/blk-core.c           | 2 +-
 block/blk-throttle.c       | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

-- 
2.52.0


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2026-04-20  7:57 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-02-23  9:29 [PATCH v2 0/2] Add WQ_PERCPU to alloc_workqueue users Marco Crivellari
2026-02-23  9:29 ` [PATCH v2 1/2] block: " Marco Crivellari
2026-02-23  9:29 ` [PATCH v2 2/2] block/blk-throttle: " Marco Crivellari
2026-03-18 15:31 ` [PATCH v2 0/2] " Marco Crivellari
2026-03-27 16:06 ` Marco Crivellari
2026-04-09  9:49 ` Marco Crivellari
2026-04-17 20:39 ` Jens Axboe
2026-04-20  7:57   ` Marco Crivellari

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®