diff options
| author | Pavel Begunkov <[email protected]> | 2020-04-11 23:05:04 +0000 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2020-04-12 14:46:49 +0000 |
| commit | dea3b49c7fb09b4f6b6a574c0485ffeb9df7b69c (patch) | |
| tree | a4b322afdb48024a49488237ede17e24d880737a /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | io_uring: early submission req fail code (diff) | |
| download | kernel-dea3b49c7fb09b4f6b6a574c0485ffeb9df7b69c.tar.gz kernel-dea3b49c7fb09b4f6b6a574c0485ffeb9df7b69c.zip | |
io_uring: keep all sqe->flags in req->flags
It's a good idea to not read sqe->flags twice, as it's prone to security
bugs. Instead of passing it around, embeed them in req->flags. It's
already so except for IOSQE_IO_LINK.
1. rename former REQ_F_LINK -> REQ_F_LINK_HEAD
2. introduce and copy REQ_F_LINK, which mimics IO_IOSQE_LINK
And leave req_set_fail_links() using new REQ_F_LINK, because it's more
sensible.
Signed-off-by: Pavel Begunkov <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions
