compile out ctx->compat reads
Status from this message: Applied, thanks!
Get series with b4
b4 am [email protected]Versions newest first
Patches in v2 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | io_uring: introduce io_is_compat()io_uring/ | +5 | 1 reply | |
| 2/6 | io_uring/cmd: optimise !CONFIG_COMPAT flags settingio_uring/ | +1 | 1 reply | |
| 3/6 | io_uring/rw: compile out compat param passingio_uring/ | +2 | 1 reply | |
| 4/6 | io_uring/rw: shrink io_iov_compat_buffer_select_prepio_uring/ | +4 | 0 replies | |
| 5/6 | io_uring/waitid: use io_is_compat()io_uring/ | +1 | 3 replies | |
| 6/6 | io_uring/net: use io_is_compat()io_uring/ | +8 | 1 reply |
Reviews trailers per patch
5 of 6 patches have a Reviewed-by or Acked-by.
| Patch | Anuj Gupta |
|---|---|
| 1/6 | R-b |
| 2/6 | R-b |
| 3/6 | R-b |
| 4/6 | |
| 5/6 | R-b |
| 6/6 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 0/6] compile out ctx->compat reads
Some code paths read ctx->compat even for !CONFIG_COMPAT, add and use a helper to optimise that out. Namely cmd and rw.c vector imports benefit from that, and others are converted for consistency.
rsrc.c is left out to avoid conflicts, it's easier to update it later. It'd also be a good idea to further clean up compat code on top.
v2: also use it for net, cmd and waitid
remove some of the CONFIG_COMPAT guards from rw.c
Pavel Begunkov (6):
io_uring: introduce io_is_compat() io_uring/cmd: optimise !CONFIG_COMPAT flags setting io_uring/rw: compile out compat param passing io_uring/rw: shrink io_iov_compat_buffer_select_prep io_uring/waitid: use io_is_compat() io_uring/net: use io_is_compat()
io_uring/io_uring.h | 5 +++++ io_uring/net.c | 19 ++++++++----------- io_uring/rw.c | 22 ++++++---------------- io_uring/uring_cmd.c | 2 +- io_uring/waitid.c | 2 +- 5 files changed, 21 insertions(+), 29 deletions(-)
Signature · 1 line
2.48.1