diff options
author | 2020-07-07 16:36:20 +0300 | |
---|---|---|
committer | 2020-07-07 12:00:03 -0600 | |
commit | 9dedd56301564acdbb1dd37cf09250a4c7b783c9 (patch) | |
tree | bb9b60d2e7b383c765074977d7b17df657f5bb2d /tools/perf/scripts/python/export-to-postgresql.py | |
parent | io_uring: briefly loose locks while reaping events (diff) | |
download | wireguard-linux-9dedd56301564acdbb1dd37cf09250a4c7b783c9.tar.xz wireguard-linux-9dedd56301564acdbb1dd37cf09250a4c7b783c9.zip |
io_uring: partially inline io_iopoll_getevents()
io_iopoll_reap_events() doesn't care about returned valued of
io_iopoll_getevents() and does the same checks for list emptiness
and need_resched(). Just use io_do_iopoll().
io_sq_thread() doesn't check return value as well. It also passes min=0,
so there never be the second iteration inside io_poll_getevents().
Inline it there too.
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