Re: [PATCH 2/2] io_uring/io-wq: limit io poller cpuset to ambient one

From: Jens Axboe
Date: Tue Sep 10 2024 - 10:56:33 EST


On 9/10/24 8:33 AM, Felix Moessbauer wrote:
> The io work queue polling threads are userland threads that just never
> exit to the userland. By that, they are also assigned to a cgroup (the
> group of the creating task).
>
> When creating a new io poller, this poller should inherit the cpu limits
> of the cgroup, as it belongs to the cgroup of the creating task.

Same comment on polling threads and the use of ambient.

--
Jens Axboe