[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [Problem] about src/xen/include/public/io/ring.h



On Fri, 2013-04-12 at 03:21 +0100, éç wrote:


> On Thu, Apr 11, 2013 at 9:20 PM, Konrad Rzeszutek Wilk
> <konrad.wilk@xxxxxxxxxx> wrote:

>         Please don't top post.

éç, Can you also stop posting HTML mails, thanks.

> Then rsp = RING_SIZE(r) - (X - Y),  I can't figure out this and the
> return value ` req < rsp ? req : rsp` ?

Perhaps think about the case when the ring becomes full of either
responses or requests and what that means in terms of "wrapping" in the
ring.

Ian.


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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.