Re: [PATCH] blk-mq: dispatch kworker to housekeeping CPU when hctx cpumask is empty

From: Tejun Heo

Date: Wed Oct 14 2026 - 15:34:12 EST


Hello, Aaron.

On Mon, Oct 12, 2026 at 12:06:25PM -0400, Aaron Tomlin wrote:
> kblockd_workqueue is unique in that it is allocated as WQ_PERCPU to
> preserve per-CPU locality for multi-queue devices.

I haven't followed the earlier discussion, but if CPU locality is important
without requiring hard per-CPU affinity, an unbound workqueue with
non-strict "cpu" (or "smt" for core) affinity scope can provide both:
locality by default with flexibility to migrate when needed.

Thanks.

--
tejun