diff options
author | 2019-10-27 18:52:20 +0300 | |
---|---|---|
committer | 2019-10-29 10:24:21 -0600 | |
commit | fa4562280889ad372dfb1413833a8b8675721b17 (patch) | |
tree | e6ede89d2964d4347e68b32df37999fc7f80957f /include/linux/sched.h | |
parent | io_uring: add set of tracing events (diff) | |
download | wireguard-linux-fa4562280889ad372dfb1413833a8b8675721b17.tar.xz wireguard-linux-fa4562280889ad372dfb1413833a8b8675721b17.zip |
io_uring: remove index from sqe_submit
submit->index is used only for inbound check in submission path (i.e.
head < ctx->sq_entries). However, it always will be true, as
1. it's already validated by io_get_sqring()
2. ctx->sq_entries can't be changedd in between, because of held
ctx->uring_lock and ctx->refs.
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'include/linux/sched.h')
0 files changed, 0 insertions, 0 deletions