diff options
| author | 2020-11-20 15:50:51 +0000 | |
|---|---|---|
| committer | 2020-12-09 12:04:01 -0700 | |
| commit | bd5bbda72f7fa013ddea0ff7c4d91daedb821869 (patch) | |
| tree | 0015681228d97bacae9546fa04257b0f7eda2b83 /scripts/gdb/linux/proc.py | |
| parent | io_uring: change submit file state invariant (diff) | |
| download | wireguard-linux-bd5bbda72f7fa013ddea0ff7c4d91daedb821869.tar.xz wireguard-linux-bd5bbda72f7fa013ddea0ff7c4d91daedb821869.zip | |
io_uring: fix miscounting ios_left
io_req_init() doesn't decrement state->ios_left if a request doesn't
need ->file, it just returns before that on if(!needs_file). That's
not really a problem but may cause overhead for an additional fput().
Also inline and kill io_req_set_file() as it's of no use anymore.
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'scripts/gdb/linux/proc.py')
0 files changed, 0 insertions, 0 deletions
