]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb52d27d0998df21bfa6f8c335e12f67e7abb1385
tree2fecf2834ba462bf61468b1b5799eebd7f210dc7
parentc6b16569899f41f568c311dc3a2215b3ab47608e
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