aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorPavel Begunkov <asml.silence@gmail.com>2020-07-06 17:59:30 +0300
committerJens Axboe <axboe@kernel.dk>2020-07-06 09:06:20 -0600
commiteba0a4dd2aa5c47ca5b0c56ffb6d6665e047ff72 (patch)
treee36780c1ba1eb115af4a80853ce48c5b25618b37 /tools/perf/scripts/python/export-to-postgresql.py
parentio_uring: don't delay iopoll'ed req completion (diff)
downloadwireguard-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