another round of rsrc refactoring
Status from this message: Applied, thanks!
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/8 | io_uring/rsrc: remove unused io_rsrc_node::llistio_uring/ | +0 | 0 replies | |
| 2/8 | io_uring/rsrc: infer node from ctx on io_queue_rsrc_removalio_uring/ io_uring/ io_uring/ | +8 | 0 replies | |
| 3/8 | io_uring/rsrc: merge nodes and io_rsrc_putio_uring/ io_uring/ io_uring/ | +25 | 0 replies | |
| 4/8 | io_uring/rsrc: add empty flag in rsrc_nodeio_uring/ io_uring/ | +4 | 0 replies | |
| 5/8 | io_uring/rsrc: inline io_rsrc_put_work()io_uring/ io_uring/ | +6 | 0 replies | |
| 6/8 | io_uring/rsrc: pass node to io_rsrc_put_work()io_uring/ | +6 | 0 replies | |
| 7/8 | io_uring/rsrc: devirtualise rsrc put callbacksio_uring/ io_uring/ | +20 | 0 replies | |
| 8/8 | io_uring/rsrc: disassociate nodes and rsrc_dataio_uring/ io_uring/ | +11 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH for-next 0/8] another round of rsrc refactoring
Further simplify rsrc infrastructure, and make it a little bit faster.
The main part is Patch 3, which establishes 1:1 relation between struct io_rsrc_put and nodes, which removes io_rsrc_node_switch() / io_rsrc_node_switch_start() and all the additional complexity with pre allocations. Note, it doesn't change any guarantees as io_queue_rsrc_removal() was doing allocations anyway and could always fail.
Pavel Begunkov (8):
io_uring/rsrc: remove unused io_rsrc_node::llist io_uring/rsrc: infer node from ctx on io_queue_rsrc_removal io_uring/rsrc: merge nodes and io_rsrc_put io_uring/rsrc: add empty flag in rsrc_node io_uring/rsrc: inline io_rsrc_put_work() io_uring/rsrc: pass node to io_rsrc_put_work() io_uring/rsrc: devirtualise rsrc put callbacks io_uring/rsrc: disassociate nodes and rsrc_data
io_uring/filetable.c | 14 +---- io_uring/rsrc.c | 146 ++++++++++++++++--------------------------- io_uring/rsrc.h | 32 ++-------- 3 files changed, 61 insertions(+), 131 deletions(-)
Signature · 1 line
2.40.0