From: Jens Axboe <[email protected]>
To: Pavel Begunkov <[email protected]>,
[email protected], [email protected]
Subject: Re: [PATCH 5.9] io_uring: fix NULL-mm for linked reqs
Date: Thu, 25 Jun 2020 07:24:21 -0600 [thread overview]
Message-ID: <[email protected]> (raw)
In-Reply-To: <f7d8272bcf142fe2c11c85ecd86f7f75f6e48316.1593077850.git.asml.silence@gmail.com>
On 6/25/20 3:38 AM, Pavel Begunkov wrote:
> __io_queue_sqe() tries to handle all request of a link,
> so it's not enough to grab mm in io_sq_thread_acquire_mm()
> based just on the head.
>
> Don't check req->needs_mm and do it always.
Applied, thanks.
--
Jens Axboe
prev parent reply other threads:[~2020-06-25 13:24 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-06-25 9:38 [PATCH 5.9] io_uring: fix NULL-mm for linked reqs Pavel Begunkov
2020-06-25 13:24 ` 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] \
[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