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

Re: [Xen-devel] LTTng-Xen Buffer shared between the hypervisor and a dom

To: Mathieu Desnoyers <compudj@xxxxxxxxxxxxxxxxxx>, Keir Fraser <keir@xxxxxxxxxxxxx>
Subject: Re: [Xen-devel] LTTng-Xen Buffer shared between the hypervisor and a dom0 process
From: Keir Fraser <keir@xxxxxxxxxxxxx>
Date: Fri, 09 Mar 2007 09:11:21 +0000
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Fri, 09 Mar 2007 01:10:38 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <20070308193025.GA20510@Krystal>
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/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcdiKuctJc6a8s4eEduPNwAX8io7RQ==
Thread-topic: [Xen-devel] LTTng-Xen Buffer shared between the hypervisor and a dom0 process
User-agent: Microsoft-Entourage/11.2.5.060620
On 8/3/07 19:30, "Mathieu Desnoyers" <compudj@xxxxxxxxxxxxxxxxxx> wrote:

> lttctl-xen -r (finalize buffers, signal lttd-xen, decrement refcount)
> (lttd-xen : writes the last subbuffers. decrement refcount, ressources are
> freed)
> 
> If no lttd-xen is mapping the buffers, we simply free then upon
> lttctl-xen -r.

Okay, I get you. But what should happen if someone *is* mapping the buffers
when lttctl-xen -r is invoked? Is that an error condition, or is the
implementation supposed to reap the buffers 'as soon as possible' (i.e.,
when the last mapping goes away)?

Actually I think we can support either way, although the former will work
right now and the latter will need a bit of extra support added into Xen.

 -- Keir


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