Re: [PATCH 1/1] io_uring: remove index from sqe_submit

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

 



On 10/27/19 9:52 AM, Pavel Begunkov wrote:
> submit->index is used only for inbound check in submission path (i.e.
> head < ctx->sq_entries). However, it always will be true, as
> 1. it's already validated by io_get_sqring()
> 2. ctx->sq_entries can't be changedd inbetween, because of held
> ctx->uring_lock and ctx->refs.

Applied, thanks.

-- 
Jens Axboe




[Index of Archives]     [Linux RAID]     [Linux SCSI]     [Linux ATA RAID]     [IDE]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Device Mapper]

  Powered by Linux