mbox series

[PATCHSET,v3,0/4] Cleanup and improve MSG_RING performance

Message ID 20240401175757.1054072-1-axboe@kernel.dk (mailing list archive)
Headers show
Series Cleanup and improve MSG_RING performance | expand

Message

Jens Axboe April 1, 2024, 5:56 p.m. UTC
Hi,

Hi,

MSG_RING rolls its own task_work handling, which there's really no need
for. Rather, it should use the generic io_uring infrastructure for this.

Add a helper for remote execution, and switch over MSG_RING to use it.
This both cleans up the code, and improves performance of this opcode
considerably.

 io_uring/io_uring.c | 30 ++++++++++++++++------
 io_uring/io_uring.h |  2 ++
 io_uring/msg_ring.c | 62 +++++++++++++++++++++------------------------
 3 files changed, 53 insertions(+), 41 deletions(-)

Changes since v2:
- Ensure fd install locking is correct