summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2022-04-26 04:49:03 +0300
committerJens Axboe <axboe@kernel.dk>2022-04-30 17:39:54 +0300
commite1169f06d5bbdbc2b22ae4e3083a4bf75ae5ecee (patch)
tree97d2af2ef27fd8f46011b3330cc7d859b469f09a /include/linux
parent9f010507bbc1be19dbeedc1a254209fea44adc14 (diff)
downloadlinux-e1169f06d5bbdbc2b22ae4e3083a4bf75ae5ecee.tar.xz
io_uring: use TWA_SIGNAL_NO_IPI if IORING_SETUP_COOP_TASKRUN is used
If this is set, io_uring will never use an IPI to deliver a task_work notification. This can be used in the common case where a single task or thread communicates with the ring, and doesn't rely on io_uring_cqe_peek(). This provides a noticeable win in performance, both from eliminating the IPI itself, but also from avoiding interrupting the submitting task unnecessarily. Reviewed-by: Pavel Begunkov <asml.silence@gmail.com> Link: https://lore.kernel.org/r/20220426014904.60384-6-axboe@kernel.dk Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions