summaryrefslogtreecommitdiff
path: root/lib/bootconfig.c
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 /lib/bootconfig.c
parentf33096a3c99c0149be49fe1e107244a7ed860ecb (diff)
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 'lib/bootconfig.c')
0 files changed, 0 insertions, 0 deletions