Re: [PATCH 5.9] io_uring: fix NULL-mm for linked reqs
From
Jens Axboe <>
Date
Thu, 25 Jun 2020 07:24:21 -0600
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.