Re: [PATCH] io_uring/io-wq: apply the current cpuset to new workers
From: Jens Axboe
Date: Wed Nov 18 2026 - 11:10:11 EST
On Wed, 11 Nov 2026 16:27:05 +0000, Mikhail Malyshev wrote:
> Since commit 84eacf177faa ("io_uring/io-wq: inherit cpuset of cgroup in
> io worker"), io_wq_create() copies the cpuset of the creating task into
> wq->cpu_mask, and io_init_new_worker() gives each new worker that copy.
> A cpuset change, or a move of the task to another cgroup, updates the
> workers that exist but not the copy, so workers started later run on
> the CPUs the cgroup had when the io-wq was created, which may since
> have been given to other tasks. Workers come and go for the life of the
> io-wq, and a worker that cpuset moved is also retired at its next idle
> timeout and replaced on the old CPUs.
>
> [...]
Applied, thanks!
[1/1] io_uring/io-wq: apply the current cpuset to new workers
commit: 0659e44ce739ecd856164c75a5325b7959a2921d
Best regards,
--
Jens Axboe