diff options
author | 2025-02-24 12:42:20 +0000 | |
---|---|---|
committer | 2025-02-24 07:34:21 -0700 | |
commit | 0bba6fccbdcb28d284debc31150f84ef14f7e252 (patch) | |
tree | 655dc1465f7963767cf2a8f6371a4c7868de74a8 /io_uring/net.c | |
parent | io_uring: introduce io_is_compat() (diff) | |
download | wireguard-linux-0bba6fccbdcb28d284debc31150f84ef14f7e252.tar.xz wireguard-linux-0bba6fccbdcb28d284debc31150f84ef14f7e252.zip |
io_uring/cmd: optimise !CONFIG_COMPAT flags setting
Use io_is_compat() to avoid extra overhead in io_uring_cmd() for flag
setting when compat is compiled out.
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Reviewed-by: Anuj Gupta <anuj20.g@samsung.com>
Link: https://lore.kernel.org/r/f4d74c62d7cbddc386c0a9138ecd2b2ed6d3f146.1740400452.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'io_uring/net.c')
0 files changed, 0 insertions, 0 deletions