diff options
| author | Jens Axboe <[email protected]> | 2022-04-25 19:49:03 -0600 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2022-04-30 08:39:54 -0600 |
| commit | e1169f06d5bbdbc2b22ae4e3083a4bf75ae5ecee (patch) | |
| tree | 97d2af2ef27fd8f46011b3330cc7d859b469f09a /scripts/gdb/linux/clk.py | |
| parent | 9f010507bbc1be19dbeedc1a254209fea44adc14 (diff) | |
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 <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/clk.py')
0 files changed, 0 insertions, 0 deletions