diff options
author | 2025-05-13 18:26:51 +0100 | |
---|---|---|
committer | 2025-05-13 14:45:55 -0600 | |
commit | 2b61bb1d9aa601ec393054a61be0a707a5bea928 (patch) | |
tree | 2327a0b9b0d46e1855ab29b8d9ee1c92192cabb7 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | io_uring/kbuf: refactor __io_remove_buffers (diff) | |
download | wireguard-linux-2b61bb1d9aa601ec393054a61be0a707a5bea928.tar.xz wireguard-linux-2b61bb1d9aa601ec393054a61be0a707a5bea928.zip |
io_uring/kbuf: unify legacy buf provision and removal
Combine IORING_OP_PROVIDE_BUFFERS and IORING_OP_REMOVE_BUFFERS
->issue(), so that we can deduplicate ring locking and list lookups.
This way we further reduce code for legacy provided buffers. Locking is
also separated from buffer related handling, which makes it a bit
simpler with label jumps.
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://lore.kernel.org/r/f61af131622ad4337c2fb9f7c453d5b0102c7b90.1747150490.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions