aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorPavel Begunkov <asml.silence@gmail.com>2020-06-29 13:12:59 +0300
committerJens Axboe <axboe@kernel.dk>2020-06-30 08:38:58 -0600
commit7c86ffeeed303187f266ed17bd87a9b375955709 (patch)
treed589944e8631359a8a3199073121c60ace69199f /tools/perf/scripts/python/export-to-postgresql.py
parentio_uring: fix missing wake_up io_rw_reissue() (diff)
downloadwireguard-linux-7c86ffeeed303187f266ed17bd87a9b375955709.tar.xz
wireguard-linux-7c86ffeeed303187f266ed17bd87a9b375955709.zip
io_uring: deduplicate freeing linked timeouts
Linked timeout cancellation code is repeated in in io_req_link_next() and io_fail_links(), and they differ in details even though shouldn't. Basing on the fact that there is maximum one armed linked timeout in a link, and it immediately follows the head, extract a function that will check for it and defuse. Justification: - DRY and cleaner - better inlining for io_req_link_next() (just 1 call site now) - isolates linked_timeouts from common path - reduces time under spinlock for failed links - actually less code Signed-off-by: Pavel Begunkov <asml.silence@gmail.com> [axboe: fold in locking fix for io_fail_links()] 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