io_uring: shuffle io_eventfd_signal() bits around
authorPavel Begunkov <asml.silence@gmail.com>
Thu, 17 Mar 2022 02:03:40 +0000 (02:03 +0000)
committerJens Axboe <axboe@kernel.dk>
Thu, 17 Mar 2022 02:26:32 +0000 (20:26 -0600)
commit66fc25ca6b7ec4124606e0d59c71c6bcf14e05bb
tree2fecf2834ba462bf61468b1b5799eebd7f210dc7
parent0f84747177b962c32243a57cb454193bdba4fe8d
io_uring: shuffle io_eventfd_signal() bits around

A preparation patch, which moves a fast ->io_ev_fd check out of
io_eventfd_signal() into ev_posted*(). Compilers are smart enough for it
to not change anything, but will need it later.

Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://lore.kernel.org/r/ec4091ac76d43912b73917e8db651c2dac4b7b01.1647481208.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io_uring.c