From: Jens Axboe <[email protected]>
To: Stefan Metzmacher <[email protected]>, [email protected]
Subject: Re: [PATCH 5.12 0/2] Restore sq_thread 5.11 behavior
Date: Sun, 7 Mar 2021 13:07:24 -0700 [thread overview]
Message-ID: <[email protected]> (raw)
In-Reply-To: <[email protected]>
On 3/7/21 3:54 AM, Stefan Metzmacher wrote:
> Hi Jens,
>
> I guess on top of your "io-wq: always track creds for async issue"
> we want to following to patches in order to restore the sq_thread
> behavior of 5.11 (and older) with IORING_SETUP_ATTACH_WQ.
>
> - io_uring: run __io_sq_thread() with the initial creds
> - io_uring: kill io_sq_thread_fork() and return -EOWNERDEAD
> - io_
> I've not tested them, but they compile and as far as I read the
> 5.11 code, they should restore the old behavior.
Thanks this looks good, I'll apply them. There's really no point
to the fork handling of SQPOLL anymore, since the unshare code
went away.
--
Jens Axboe
prev parent reply other threads:[~2021-03-07 20:08 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-03-07 10:54 [PATCH 5.12 0/2] Restore sq_thread 5.11 behavior Stefan Metzmacher
2021-03-07 10:54 ` [PATCH 1/2] io_uring: run __io_sq_thread() with the initial creds from io_uring_setup() Stefan Metzmacher
2021-03-07 10:54 ` [PATCH 2/2] io_uring: kill io_sq_thread_fork() and return -EOWNERDEAD if the sq_thread is gone Stefan Metzmacher
2021-03-07 20:07 ` Jens Axboe [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
[email protected] \
[email protected] \
[email protected] \
[email protected] \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox