Re: [PATCH RFC] virtio_net: fix refill related races

2011-12-21 Thread Rusty Russell
On Wed, 21 Dec 2011 11:06:37 +0200, "Michael S. Tsirkin" wrote: > On Wed, Dec 21, 2011 at 10:13:18AM +1030, Rusty Russell wrote: > > On Tue, 20 Dec 2011 21:45:19 +0200, "Michael S. Tsirkin" > > wrote: > > > On Tue, Dec 20, 2011 at 11:31:54AM -0800, Tejun Heo wrote: > > > > On Tue, Dec 20, 2011

Re: [RFC 7/11] virtio_pci: new, capability-aware driver.

2011-12-21 Thread Michael S. Tsirkin
On Wed, Dec 21, 2011 at 11:03:25AM +1030, Rusty Russell wrote: > > > What does the host do > > > if the guest screws things up? How long do you wait for them to > > > complete the seqlock? Or does it save the old version for use in the > > > duration? > > > > Yes, it will have to only apply the

Re: [PATCH RFC] virtio_net: fix refill related races

2011-12-21 Thread Michael S. Tsirkin
On Wed, Dec 21, 2011 at 10:13:18AM +1030, Rusty Russell wrote: > On Tue, 20 Dec 2011 21:45:19 +0200, "Michael S. Tsirkin" > wrote: > > On Tue, Dec 20, 2011 at 11:31:54AM -0800, Tejun Heo wrote: > > > On Tue, Dec 20, 2011 at 09:30:55PM +0200, Michael S. Tsirkin wrote: > > > > Hmm, in that case it