Re: [PATCH v3 1/1] io_uring/sqpoll: inherit cpumask of creating process

From: Jens Axboe
Date: Sat Sep 07 2024 - 09:40:50 EST



On Sat, 07 Sep 2024 12:02:04 +0200, Felix Moessbauer wrote:
> The submit queue polling threads are userland threads that just never
> exit to the userland. In case the creating task is part of a cgroup
> with the cpuset controller enabled, the poller should also stay within
> that cpuset. This also holds, as the poller belongs to the same cgroup
> as the task that started it.
>
> With the current implementation, a process can "break out" of the
> defined cpuset by creating sq pollers consuming CPU time on other CPUs,
> which is especially problematic for realtime applications.
>
> [...]

Applied, thanks!

[1/1] io_uring/sqpoll: inherit cpumask of creating process
commit: b7ed6d8ffd627a3de8b0e336996d0247a6535608

Best regards,
--
Jens Axboe