diff options
author | Jens Axboe <axboe@kernel.dk> | 2019-09-28 11:36:45 -0600 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2019-10-29 10:22:41 -0600 |
commit | ba816ad61fdf31f59f423a773b00bfa2ed38243a (patch) | |
tree | d3a90388b35fb242b4724a3b07fe76a170f80c90 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | d848074b2f1eb11a38691285f7366bce83087014 (diff) |
io_uring: run dependent links inline if possible
Currently any dependent link is executed from a new workqueue context,
which means that we'll be doing a context switch per link in the chain.
If we are running the completion of the current request from our async
workqueue and find that the next request is a link, then run it directly
from the workqueue context instead of forcing another switch.
This improves the performance of linked SQEs, and reduces the CPU
overhead.
Reviewed-by: Jackie Liu <liuyun01@kylinos.cn>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions