Re: [PATCH next 0/3] iov: Optimise user copies

From: Jens Axboe
Date: Sat Mar 22 2025 - 10:36:35 EST


On 3/21/25 4:45 PM, David Laight wrote:
> The speculation barrier in access_ok() is expensive.
>
> The first patch removes the initial checks when reading the iovec[].
> The checks are repeated before the actual copy.
>
> The second patch uses 'user address masking' if supported.
>
> The third removes a lot of code for single entry iovec[].

Looks good to me:

Reviewed-by: Jens Axboe <axboe@xxxxxxxxx>

--
Jens Axboe