diff options
| author | Pavel Begunkov <[email protected]> | 2019-11-21 20:21:03 +0000 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2019-11-26 02:56:11 +0000 |
| commit | f9bd67f69af56d712bfd498f5ad9cf7bb177d600 (patch) | |
| tree | be1887f7d4a4eb444d9491731c5548ed102dd6ce /tools/perf/scripts/python/syscall-counts.py | |
| parent | io_uring: simplify io_req_link_next() (diff) | |
| download | kernel-f9bd67f69af56d712bfd498f5ad9cf7bb177d600.tar.gz kernel-f9bd67f69af56d712bfd498f5ad9cf7bb177d600.zip | |
io_uring: only !null ptr to io_issue_sqe()
Pass only non-null @nxt to io_issue_sqe() and handle it at the caller's
side. And propagate it.
- kiocb_done() is only called from io_read() and io_write(), which are
only called from io_issue_sqe(), so it's @nxt != NULL
- io_put_req_find_next() is called either with explicitly non-null local
nxt, or from one of the functions in io_issue_sqe() switch (or their
callees).
Signed-off-by: Pavel Begunkov <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions
