]> www.infradead.org Git - users/jedix/linux-maple.git/commit
io_uring/rw: shrink io_iov_compat_buffer_select_prep
authorPavel Begunkov <asml.silence@gmail.com>
Mon, 24 Feb 2025 12:42:22 +0000 (12:42 +0000)
committerJens Axboe <axboe@kernel.dk>
Mon, 24 Feb 2025 14:34:21 +0000 (07:34 -0700)
commit52524b281d5746cf9dbd53a7dffce9576e8ddd30
tree65530c9ab30b6ab2bfa4cb9d58c1a6110c3d35b7
parent82d187d356dcc257ecaa659e57e6c0546ec1cd2d
io_uring/rw: shrink io_iov_compat_buffer_select_prep

Compat performance is not important and simplicity is more appreciated.
Let's not be smart about it and use simpler copy_from_user() instead of
access + __get_user pair.

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