mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Marco Crivellari <marco.crivellari@suse.com>
To: linux-kernel@vger.kernel.org
Cc: Tejun Heo <tj@kernel.org>, Lai Jiangshan <jiangshanlai@gmail.com>,
	Frederic Weisbecker <frederic@kernel.org>,
	Sebastian Andrzej Siewior <bigeasy@linutronix.de>,
	Marco Crivellari <marco.crivellari@suse.com>,
	Michal Hocko <mhocko@suse.com>, Jens Axboe <axboe@kernel.dk>
Subject: [PATCH v2 0/2] Add WQ_PERCPU to alloc_workqueue users
Date: Mon, 23 Feb 2026 10:29:18 +0100	[thread overview]
Message-ID: <20260223092920.60424-1-marco.crivellari@suse.com> (raw)

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


             reply	other threads:[~2026-02-23  9:29 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-02-23  9:29 Marco Crivellari [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20260223092920.60424-1-marco.crivellari@suse.com \
    --to=marco.crivellari@suse.com \
    --cc=axboe@kernel.dk \
    --cc=bigeasy@linutronix.de \
    --cc=frederic@kernel.org \
    --cc=jiangshanlai@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mhocko@suse.com \
    --cc=tj@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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®