Re: [RFC PATCH 2/2] virtio/s390: fix race in ccw_io_helper()

From
Cornelia Huck <cohuck@redhat.com>
Date
2018-09-20 10:15:23
Also in
kvm, linux-s390
On Wed, 19 Sep 2018 18:56:45 +0200
Halil Pasic [off-list ref] wrote:
On 09/19/2018 04:07 PM, Cornelia Huck wrote:
quoted
Do you spot any other places where we may need to care about concurrent
processing (like for the ->config area in the previous patch)?
  
It is hard to tell, because:
* Synchronization external to the transport could make things work
out just fine.
* virtio_config_ops does not document these requirements if any.
* So it's up to the devices to use the stuff without shooting
  themselves in the foot.
* virtio-pci does not seem to do more to avoid such problems that
  we do.

Back then when learning vritio-ccw I did ask myself such questions
and based on vrito-pci and I was like looks similar, should be
good enough.
Yep, I agree. If there's nothing obvious, I think we should just leave
it as it is now.
Thread (1 message) 1 message, 1 author, last reply 2018-09-20
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help