Re: [PATCH 0/4] clean early submission path

From: Jens Axboe
Date: Wed Apr 08 2020 - 11:27:23 EST


On 4/7/20 10:58 PM, Pavel Begunkov wrote:
> This is mainly in preparation for future changes, but looks nice
> by itself. The last patch fixes a mild vulnerability.
>
> Pavel Begunkov (4):
> io_uring: simplify io_get_sqring
> io_uring: alloc req only after getting sqe
> io_uring: remove req init from io_get_req()
> io_uring: don't read user-shared sqe flags twice
>
> fs/io_uring.c | 113 ++++++++++++++++++++++++--------------------------
> 1 file changed, 54 insertions(+), 59 deletions(-)

Looks good to me, applied. Thanks!

--
Jens Axboe