linux/io_uring
Pavel Begunkov 5916943943 io_uring: conditional ->async_data allocation
There are opcodes that need ->async_data only in some cases and
allocation it unconditionally may hurt performance. Add an option to
opdef to make move the allocation part from the core io_uring to opcode
specific code.
Note, we can't just set opdef->async_size to zero because there are
other helpers that rely on it, e.g. io_alloc_async_data().

Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://lore.kernel.org/r/9dc62be9e88dd0ed63c48365340e8922d2498293.1661342812.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2022-08-24 08:57:28 -06:00
..
2022-08-12 17:01:00 -06:00
2022-07-24 18:39:16 -06:00
2022-08-24 08:57:15 -06:00
2022-07-24 18:41:07 -06:00
2022-07-24 18:39:11 -06:00
2022-07-24 18:39:14 -06:00
2022-08-13 13:28:54 -07:00
2022-07-24 18:39:15 -06:00
2022-07-24 18:41:06 -06:00