diff options
| author | Pavel Begunkov <[email protected]> | 2025-01-28 20:56:16 +0000 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2025-01-28 22:10:40 +0000 |
| commit | d1fdab8c06791945d9454fb430951533eba9e175 (patch) | |
| tree | 98ce7651142c92bf96db47b2714d1e3b137f7cf7 /net/unix/af_unix.c | |
| parent | io_uring: remove !KASAN guards from cache free (diff) | |
| download | kernel-d1fdab8c06791945d9454fb430951533eba9e175.tar.gz kernel-d1fdab8c06791945d9454fb430951533eba9e175.zip | |
io_uring/rw: simplify io_rw_recycle()
Instead of freeing iovecs in case of IO_URING_F_UNLOCKED in
io_rw_recycle(), leave it be and rely on the core io_uring code to
call io_readv_writev_cleanup() later. This way the iovec will get
recycled and we can clean up io_rw_recycle() and kill
io_rw_iovec_free().
Signed-off-by: Pavel Begunkov <[email protected]>
Reviewed-by: Gabriel Krisman Bertazi <[email protected]>
Link: https://lore.kernel.org/r/14f83b112eb40078bea18e15d77a4f99fc981a44.1738087204.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
