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

[Xen-devel] Re: [PATCH] allow connecting to xenconsole from remote hosts





On 14/9/06 12:14, "Muli Ben-Yehuda" <muli@xxxxxxxxxx> wrote:

> Changes since last version:
> - get rid of the 'queue of messages', instead each queueu is a ring
>   buffer of characters that we read into and write from directly.

All our other ring buffers have free-running indexes (i.e., they do not wrap
to zero when they reach the end of the buffer). This makes it easier to
determine number of entries in use (it's 'producer minus consumer' -- that's
another thing, it's standard idiom for us to call the indexes producer (or
prod) and consumer (or cons)). We then mask the high-order bits when
actually indexing into the buffer.

 -- Keir





_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

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