diff options
author | Pavel Begunkov <asml.silence@gmail.com> | 2021-02-10 03:03:23 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2021-02-10 17:28:43 +0300 |
commit | e5d1bc0a91f16959aa279aa3ee9fdc246d4bb382 (patch) | |
tree | da1be612b0d777fa7f9ee84ef880c3a81728f035 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | c5eef2b9449ba267f53bfa7cf63d2bc93acbee32 (diff) | |
download | linux-e5d1bc0a91f16959aa279aa3ee9fdc246d4bb382.tar.xz |
io_uring: defer flushing cached reqs
Awhile there are requests in the allocation cache -- use them, only if
those ended go for the stashed memory in comp.free_list. As list
manipulation are generally heavy and are not good for caches, flush them
all or as much as can in one go.
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
[axboe: return success/failure from io_flush_cached_reqs()]
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions