diff options
author | 2020-07-06 17:59:30 +0300 | |
---|---|---|
committer | 2020-07-06 09:06:20 -0600 | |
commit | eba0a4dd2aa5c47ca5b0c56ffb6d6665e047ff72 (patch) | |
tree | e36780c1ba1eb115af4a80853ce48c5b25618b37 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | io_uring: don't delay iopoll'ed req completion (diff) | |
download | wireguard-linux-eba0a4dd2aa5c47ca5b0c56ffb6d6665e047ff72.tar.xz wireguard-linux-eba0a4dd2aa5c47ca5b0c56ffb6d6665e047ff72.zip |
io_uring: fix stopping iopoll'ing too early
Nobody adjusts *nr_events (number of completed requests) before calling
io_iopoll_getevents(), so the passed @min shouldn't be adjusted as well.
Othewise it can return less than initially asked @min without hitting
need_resched().
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