diff options
author | 2020-06-29 19:18:40 +0300 | |
---|---|---|
committer | 2020-06-30 08:39:59 -0600 | |
commit | 351fd53595a3ceb88756a005e3b864f7c8cb86e4 (patch) | |
tree | 4b5f1bb03d48101532584406660fbde384705587 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | io_uring: fix potential use after free on fallback request free (diff) | |
download | wireguard-linux-351fd53595a3ceb88756a005e3b864f7c8cb86e4.tar.xz wireguard-linux-351fd53595a3ceb88756a005e3b864f7c8cb86e4.zip |
io_uring: don't pass def into io_req_work_grab_env
Remove struct io_op_def *def parameter from io_req_work_grab_env(),
it's trivially deducible from req->opcode and fast. The API is
cleaner this way, and also helps the complier to understand
that it's a real constant and could be register-cached.
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