summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorPavel Begunkov <asml.silence@gmail.com>2022-12-07 06:53:28 +0300
committerJens Axboe <axboe@kernel.dk>2022-12-07 16:47:13 +0300
commita85381d8326d75417ae177bddf44be533d1d21be (patch)
tree55eb2286483f1e669e9ba13e016b640d25fd2f26 /tools/perf/scripts/python/export-to-sqlite.py
parent4c979eaefa4356d385b7c7d2877dc04d7fe88969 (diff)
downloadlinux-a85381d8326d75417ae177bddf44be533d1d21be.tar.xz
io_uring: skip overflow CQE posting for dying ring
After io_ring_ctx_wait_and_kill() is called there should be no users poking into rings and so there is no need to post CQEs. So, instead of trying to post overflowed CQEs into the CQ, drop them. Also, do it in io_ring_exit_work() in a loop to reduce the number of contexts it can be executed from and even when it struggles to quiesce the ring we won't be leaving memory allocated for longer than needed. Signed-off-by: Pavel Begunkov <asml.silence@gmail.com> Link: https://lore.kernel.org/r/26d13751155a735a3029e24f8d9ca992f810419d.1670384893.git.asml.silence@gmail.com Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions