Re: [PATCH v1] virtio_scsi: remove ACCESS_ONCE() and smp_read_barrier_depends()

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

 



On Thu, May 8, 2014 at 3:05 PM, Paolo Bonzini <pbonzini@xxxxxxxxxx> wrote:

>
>
> Decrements of reqs are never concurrent with writes of req_vq: before the
> decrement reqs will be != 0; after the decrement the virtqueue completion
> routine will not use the req_vq so it can be changed by a new request.  Thus
> they can happen outside the tgt_lock, provided of course we make reqs an
> atomic_t.

OK, will take above comment in V2.

> Otherwise looks good.

Thanks for your review.

Thanks,
-- 
Ming Lei
--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]
  Powered by Linux