WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] Re: shared rings. rsp_cons, rsp_events, req_prod, req_events

To: Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx>
Subject: [Xen-devel] Re: shared rings. rsp_cons, rsp_events, req_prod, req_events docs, charts, timelines?
From: Daniel Stodden <daniel.stodden@xxxxxxxxxx>
Date: Mon, 16 May 2011 13:03:07 -0700
Cc: Ian, Campbell <Ian.Campbell@xxxxxxxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>, "keir@xxxxxxx" <keir@xxxxxxx>, "JBeulich@xxxxxxxxxx" <JBeulich@xxxxxxxxxx>
Delivery-date: Mon, 16 May 2011 13:04:02 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20110516170543.GA28949@xxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Organization: Citrix VMD
References: <20110516170543.GA28949@xxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
On Mon, 2011-05-16 at 13:05 -0400, Konrad Rzeszutek Wilk wrote:
> The current ring implementation uses these values and then macros such
> as RING_HAS_UNCONSUMED_REQUESTS, FINAL_RING_CHECK, etc to determine whether
> to continue or how to control the flow. Looking way back in the history
> at c/s 8153 it used to have a 'server_is_sleeping' value to determine whether
> to kick the back (now called 'req_event'), and the 'rsp_event' (unchanged)
> to kick the frontend.
> 
> Anyhow, are there any diagrams or design docs documenting how these simple 
> four
> shared values help to control the pipeline and interrupt generation? Or how
> they evolved over time to become what they are right now?

Iirc, I've known these headers since late xen 2.x versions and never saw
it done differently (i.e. req/rsp_event, and symmetrically).

Never saw dedicated documentation either, but found the header comments
and sources sufficient.

Do you just want documentation to point at, or is there something not
clear about them?

Daniel



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

<Prev in Thread] Current Thread [Next in Thread>