diff options
| author | Pavel Begunkov <[email protected]> | 2020-07-06 17:59:30 +0300 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2020-07-06 09:06:20 -0600 |
| commit | eba0a4dd2aa5c47ca5b0c56ffb6d6665e047ff72 (patch) | |
| tree | e36780c1ba1eb115af4a80853ce48c5b25618b37 /tools/perf/scripts/python/flamegraph.py | |
| parent | 3aadc23e6054353ca056bf14e87250c79efbd7ed (diff) | |
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 <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions