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] [Patch] support of lock profiling in Xen

To: Juergen Gross <juergen.gross@xxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] [Patch] support of lock profiling in Xen
From: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Date: Tue, 13 Oct 2009 16:49:01 +0100
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Tue, 13 Oct 2009 08:49:29 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4AD4870E.9090502@xxxxxxxxxxxxxx>
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>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcpMDPmTvNag0BlQSeS/HmfmAF+F8QAD7VIz
Thread-topic: [Xen-devel] [Patch] support of lock profiling in Xen
User-agent: Microsoft-Entourage/12.20.0.090605
On 13/10/2009 14:56, "Juergen Gross" <juergen.gross@xxxxxxxxxxxxxx> wrote:

>> Requires a 'struct lock_profile lock_profile' or similar to be declared
>> within the domain structure. No need to hide that definition within a macro
>> I expect, nor to specify in advance the 'max # locks'.
> 
> Round 3 then :-)
> 
> I think a rw-lock is not needed, as reading is a very rare event which will
> be executed in parallel less then once a year. ;-)
> 
> Better?

Yeah, this is fine I think.

 -- Keir



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