Re: [PATCH V3 3/9] virtio: introduce config op to synchronize vring callbacks

From: Jason Wang
Date: Thu May 05 2022 - 04:16:10 EST



在 2022/4/29 15:25, Cornelia Huck 写道:
On Fri, Apr 29 2022, Jason Wang <jasowang@xxxxxxxxxx> wrote:

On Thu, Apr 28, 2022 at 5:13 PM Cornelia Huck <cohuck@xxxxxxxxxx> wrote:
On Mon, Apr 25 2022, Jason Wang <jasowang@xxxxxxxxxx> wrote:

This patch introduces new virtio config op to vring
callbacks. Transport specific method is required to make sure the
write before this function is visible to the vring_interrupt() that is
Which kind of writes? I.e., what is the scope?
Any writes before synchronize_cbs(). Is something like the following better?

The function guarantees that all memory operations before it are
visible to the vring_interrupt() that is called after it.
Maybe "all memory operations on the queue"?


That's fine. Will do.

Thanks