summaryrefslogtreecommitdiffstats
path: root/block/blk-core.c
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2024-03-28 18:00:21 +0100
committerJens Axboe <axboe@kernel.dk>2024-06-24 16:39:50 +0200
commit0617bb500bfabf8447062f1e1edde92ed2b638f1 (patch)
treee57d8eeb4afcdb5e62325753516fefe5c66e001a /block/blk-core.c
parentio_uring: add io_add_aux_cqe() helper (diff)
downloadlinux-0617bb500bfabf8447062f1e1edde92ed2b638f1.tar.xz
linux-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 'block/blk-core.c')
0 files changed, 0 insertions, 0 deletions