[PATCH 0/2] unify registered buffer iovec imports

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Extract a helper for some common chunks of registered buffer iovec
handling so that callers don't have to care about offsets.

Pavel Begunkov (2):
  io_uring: introduce io_prep_reg_iovec()
  io_uring: rely on io_prep_reg_vec for iovec placement

 io_uring/net.c  | 27 ++++-----------------------
 io_uring/rsrc.c | 34 ++++++++++++++++++++++++++++++----
 io_uring/rsrc.h |  5 +++--
 io_uring/rw.c   | 24 ++----------------------
 4 files changed, 39 insertions(+), 51 deletions(-)

-- 
2.48.1





[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux