[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <172571643542.244981.10331950852185495338.b4-ty@kernel.dk>
Date: Sat, 07 Sep 2024 07:40:35 -0600
From: Jens Axboe <axboe@...nel.dk>
To: Felix Moessbauer <felix.moessbauer@...mens.com>
Cc: asml.silence@...il.com, linux-kernel@...r.kernel.org,
io-uring@...r.kernel.org, cgroups@...r.kernel.org, dqminh@...udflare.com,
longman@...hat.com, adriaan.schmidt@...mens.com,
florian.bezdeka@...mens.com, stable@...r.kernel.org
Subject: Re: [PATCH v3 1/1] io_uring/sqpoll: inherit cpumask of creating
process
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
Powered by blists - more mailing lists