[PATCH v2 0/2] Add WQ_PERCPU to alloc_workqueue users

Marco Crivellari posted 2 patches 1 month, 3 weeks ago
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(-)
[PATCH v2 0/2] Add WQ_PERCPU to alloc_workqueue users
Posted by Marco Crivellari 1 month, 3 weeks ago
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
Re: [PATCH v2 0/2] Add WQ_PERCPU to alloc_workqueue users
Posted by Marco Crivellari 1 week ago
On Mon, Feb 23, 2026 at 10:29 AM Marco Crivellari
<marco.crivellari@suse.com> wrote:
> [...]
> 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(-)

Hi,

Gentle ping.

Thanks!


-- 

Marco Crivellari

SUSE Labs
Re: [PATCH v2 0/2] Add WQ_PERCPU to alloc_workqueue users
Posted by Marco Crivellari 2 weeks, 6 days ago
On Mon, Feb 23, 2026 at 10:29 AM Marco Crivellari
<marco.crivellari@suse.com> wrote:
> [...]
> 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(-)

Hi,

Gentle ping.

Thanks!


-- 

Marco Crivellari

L3 Support Engineer
Re: [PATCH v2 0/2] Add WQ_PERCPU to alloc_workqueue users
Posted by Marco Crivellari 4 weeks, 1 day ago
On Mon, Feb 23, 2026 at 10:29 AM Marco Crivellari
<marco.crivellari@suse.com> wrote:
> [...]
> Marco Crivellari (2):
>   block: Add WQ_PERCPU to alloc_workqueue users
>   block/blk-throttle: Add WQ_PERCPU to alloc_workqueue users

Hi,

Gentle ping.

Thanks!


-- 

Marco Crivellari

L3 Support Engineer