mbox series

[6.1,0/2] io_uring: Do not set PF_NO_SETAFFINITY on poller threads

Message ID 20240906095321.388613-1-felix.moessbauer@siemens.com (mailing list archive)
Headers show
Series io_uring: Do not set PF_NO_SETAFFINITY on poller threads | expand

Message

Felix Moessbauer Sept. 6, 2024, 9:53 a.m. UTC
Setting the PF_NO_SETAFFINITY flag creates problems in combination with
cpuset operations (see commit messages for details). To mitigate this, fixes have
been written to remove the flag from the poller threads, which landed in v6.3. We
need them in v6.1 as well.

Best regards,
Felix Moessbauer
Siemens AG

Jens Axboe (1):
  io_uring/io-wq: stop setting PF_NO_SETAFFINITY on io-wq workers

Michal Koutný (1):
  io_uring/sqpoll: Do not set PF_NO_SETAFFINITY on sqpoll threads

 io_uring/io-wq.c  | 16 +++++++++++-----
 io_uring/sqpoll.c |  1 -
 2 files changed, 11 insertions(+), 6 deletions(-)

Comments

Jens Axboe Sept. 6, 2024, 1:33 p.m. UTC | #1
On 9/6/24 3:53 AM, Felix Moessbauer wrote:
> Setting the PF_NO_SETAFFINITY flag creates problems in combination with
> cpuset operations (see commit messages for details). To mitigate this, fixes have
> been written to remove the flag from the poller threads, which landed in v6.3. We
> need them in v6.1 as well.

Putting these in 6.1-stable is fine imho.
Greg KH Sept. 8, 2024, 2:16 p.m. UTC | #2
On Fri, Sep 06, 2024 at 11:53:19AM +0200, Felix Moessbauer wrote:
> Setting the PF_NO_SETAFFINITY flag creates problems in combination with
> cpuset operations (see commit messages for details). To mitigate this, fixes have
> been written to remove the flag from the poller threads, which landed in v6.3. We
> need them in v6.1 as well.

All queued up, thanks.

greg k-h