]> git.baikalelectronics.ru Git - kernel.git/commit
io_uring: simplify struct io_uring_sqe layout
authorPavel Begunkov <asml.silence@gmail.com>
Thu, 24 Jun 2021 14:09:59 +0000 (15:09 +0100)
committerJens Axboe <axboe@kernel.dk>
Wed, 30 Jun 2021 20:15:39 +0000 (14:15 -0600)
commitc399c4f62683dedd96a0901bdf18593863425341
tree15a7ae85369dc0ca96a347bf5b63eefccebea00a
parent8161a3cc50582bc8655cab37ad844efa2b1c7514
io_uring: simplify struct io_uring_sqe layout

Flatten struct io_uring_sqe, the last union is exactly 64B, so move them
out of union { struct { ... }}, and decrease __pad2 size.

Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://lore.kernel.org/r/2e21ef7aed136293d654450bc3088973a8adc730.1624543113.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
include/uapi/linux/io_uring.h