Re: [PATCH][for-linus] io_uring: Fix mm_fault with READ/WRITE_FIXED

From: Jens Axboe
Date: Sun Oct 27 2019 - 23:28:43 EST


On 10/27/19 2:15 PM, Pavel Begunkov wrote:
> Commit fb5ccc98782f ("io_uring: Fix broken links with offloading")
> itroduced a regression with unconditionally taking mm even for
> READ/WRITE_FIXED operations.
>
> Return the logic handling it back. mm-faulted requests will go through
> the generic submission path, so honoring links and drains, but will
> fail further on req->has_user check.

I thought about this a bit, and I think we should just defer this to
the next release and mark it stable for 5.4. I'll do that, thanks.

--
Jens Axboe