[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <41f3f2db-bc1c-22cc-d93c-4ed31cfb225f@kernel.dk>
Date: Thu, 25 Jun 2020 07:24:21 -0600
From: Jens Axboe <axboe@...nel.dk>
To: Pavel Begunkov <asml.silence@...il.com>, io-uring@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH 5.9] io_uring: fix NULL-mm for linked reqs
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
Powered by blists - more mailing lists