iov: Optimise user copies
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 5 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | iov: Remove access_ok() from import_iovec()lib/ | +0 | 0 replies | |
| 2/3 | iov: Use masked user accesseslib/ | +28 | 0 replies | |
| 3/3 | iov: Optimise __import_iovec_ubuf()lib/ | +35 | 0 replies |
Reviews trailers per patch
None of the 3 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Jens Axboe |
|---|---|
| Series | R-b |
| 1/3 | |
| 2/3 | |
| 3/3 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH next 0/3] iov: Optimise user copies
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[].
David Laight (3):
Remove access_ok() from import_iovec()
Use masked user accesses
Optimise __import_iovec_ubuf()
lib/iov_iter.c | 97 ++++++++++++++++++++++++++++++++------------------ 1 file changed, 63 insertions(+), 34 deletions(-)
Signature · 1 line
2.39.5