diff options
author | 2021-02-12 18:41:16 +0000 | |
---|---|---|
committer | 2021-02-12 11:49:49 -0700 | |
commit | cdbff98223330cdb6c57ead1533ce066dddd61b7 (patch) | |
tree | 4b5a1e81d4c10cb139c9c452dc802b0086907997 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | io_uring: don't check PF_EXITING from syscall (diff) | |
download | wireguard-linux-cdbff98223330cdb6c57ead1533ce066dddd61b7.tar.xz wireguard-linux-cdbff98223330cdb6c57ead1533ce066dddd61b7.zip |
io_uring: clean io_req_find_next() fast check
Indirectly io_req_find_next() is called for every request, optimise the
check by testing flags as it was long before -- __io_req_find_next()
tolerates false-positives well (i.e. link==NULL), and those should be
really rare.
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
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