summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorPavel Begunkov <asml.silence@gmail.com>2020-03-04 16:14:11 +0300
committerJens Axboe <axboe@kernel.dk>2020-03-04 21:39:06 +0300
commitf462fd36fc43662eeb42c95a9b8da8659af6d75e (patch)
tree6be773b2ba796a7c669bd68c3e3ddffe454c15be /tools/perf/scripts/python/exported-sql-viewer.py
parent58e3931987377d3f4ec7bbc13e4ea0aab52dc6b0 (diff)
downloadlinux-f462fd36fc43662eeb42c95a9b8da8659af6d75e.tar.xz
io-wq: optimise out *next_work() double lock
When executing non-linked hashed work, io_worker_handle_work() will lock-unlock wqe->lock to update hash, and then immediately lock-unlock to get next work. Optimise this case and do lock/unlock only once. Signed-off-by: Pavel Begunkov <asml.silence@gmail.com> 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