Re: [PATCH V3 6/9] virtio-ccw: implement synchronize_cbs()

Michael S. Tsirkin
2022-04-28T05:25:03Z

On Thu, Apr 28, 2022 at 11:04:41AM +0800, Jason Wang wrote:
> > But my guess is that rwlock + some testing for the legacy indicator case
> > just to double check if there is a heavy regression despite of our
> > expectations to see none should do the trick.
>
> I suggest this, rwlock (for not airq) seems better than spinlock, but
> at worst case it will cause cache line bouncing. But I wonder if it's
> noticeable (anyhow it has been used for airq).
>
> Thanks

Which existing rwlock does airq use right now? Can we take it to sync?

--
MST