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

From: Michael S. Tsirkin
Date: Thu Apr 28 2022 - 01:25:03 EST


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