Re: [PATCH] io_uring: do not always copy iovec in io_req_map_rw()

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

 



On 4/8/20 7:29 AM, Xiaoguang Wang wrote:
> In io_read_prep() or io_write_prep(), io_req_map_rw() takes
> struct io_async_rw's fast_iov as argument to call io_import_iovec(),
> and if io_import_iovec() uses struct io_async_rw's fast_iov as
> valid iovec array, later indeed io_req_map_rw() does not need
> to do the memcpy operation, because they are same pointers.

Applied, thanks.

-- 
Jens Axboe




[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