On 04/05/16 10:00, Juergen Gross wrote:
> Hi,
> 
> during review of my qemu pvusb backend patch Anthony raised the
> question why my backend doesn't check for the ring being full before
> using RING_GET_RESPONSE().
> 
> I've checked several existing backends and none of them is doing this
> test. To be precise: There is no macro to test this condition as
> RING_FULL() is doing this kind of test for the request ring only.

Aargh, forget it.

I've misread RING_FULL(). It is checking the request producer against
the response consumer, so everything is correct.

Sorry for the noise.


Juergen

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

Reply via email to