summaryrefslogtreecommitdiff
path: root/io_uring/msg_ring.h
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2024-03-28 11:00:21 -0600
committerJens Axboe <axboe@kernel.dk>2024-06-24 08:39:50 -0600
commit0617bb500bfabf8447062f1e1edde92ed2b638f1 (patch)
treee57d8eeb4afcdb5e62325753516fefe5c66e001a /io_uring/msg_ring.h
parentf33096a3c99c0149be49fe1e107244a7ed860ecb (diff)
downloadlwn-0617bb500bfabf8447062f1e1edde92ed2b638f1.tar.gz
lwn-0617bb500bfabf8447062f1e1edde92ed2b638f1.zip
io_uring/msg_ring: improve handling of target CQE posting
Use the exported helper for queueing task_work for message passing, rather than rolling our own. Note that this is only done for strict data messages for now, file descriptor passing messages still rely on the kernel task_work. It could get converted at some point if it's performance critical. This improves peak performance of message passing by about 5x in some basic testing, with 2 threads just sending messages to each other. Before this change, it was capped at around 700K/sec, with the change it's at over 4M/sec. Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'io_uring/msg_ring.h')
0 files changed, 0 insertions, 0 deletions