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: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Subject: Re: [Xen-devel] [Patch] support of lock profiling in Xen
From: Juergen Gross <juergen.gross@xxxxxxxxxxxxxx>
Date: Thu, 08 Oct 2009 11:04:48 +0200
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Thu, 08 Oct 2009 02:05:19 -0700
Dkim-signature: v=1; a=rsa-sha256; c=simple/simple; d=ts.fujitsu.com; i=juergen.gross@xxxxxxxxxxxxxx; q=dns/txt; s=s1536b; t=1254992942; x=1286528942; h=from:sender:reply-to:subject:date:message-id:to:cc: mime-version:content-transfer-encoding:content-id: content-description:resent-date:resent-from:resent-sender: resent-to:resent-cc:resent-message-id:in-reply-to: references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:list-owner:list-archive; z=From:=20Juergen=20Gross=20<juergen.gross@xxxxxxxxxxxxxx> |Subject:=20Re:=20[Xen-devel]=20[Patch]=20support=20of=20 lock=20profiling=20in=20Xen|Date:=20Thu,=2008=20Oct=20200 9=2011:04:48=20+0200|Message-ID:=20<4ACDAB30.5040205@xxxx ujitsu.com>|To:=20Keir=20Fraser=20<keir.fraser@xxxxxxxxxx com>|CC:=20"xen-devel@xxxxxxxxxxxxxxxxxxx"=20<xen-devel@l ists.xensource.com>|MIME-Version:=201.0 |Content-Transfer-Encoding:=207bit|In-Reply-To:=20<C6F364 22.16DB9%keir.fraser@xxxxxxxxxxxxx>|References:=20<C6F364 22.16DB9%keir.fraser@xxxxxxxxxxxxx>; bh=bPwPO8ijtWO1cRL9W1D7qFbIx4JDVxJfPfNMSfTw04s=; b=evMqnoTadhKK46l3bWIGQkn/tPq51fy0E36SgukoIKLOLWTCd+EqLxc7 0mwQTOsW9/fa6A+A8pJsZZma7hXOb+rlNOS22BHcmDy3xrQ16brxofQ30 gNrl+fdZw3c7QLwxk5GRUFvQaPt6cM684qLiPq0rkDjgKDo9WhjIXmuBO fy7gXJ/2IAGL8X6dsOzQbGQvSVKBaiGMiH1VmA+abuahjBMssa1CIzJ32 OOy+wrdVBQsR3ZSAKb83E0K5ivKys;
Domainkey-signature: s=s1536a; d=ts.fujitsu.com; c=nofws; q=dns; h=X-SBRSScore:X-IronPort-AV:Received:X-IronPort-AV: Received:Received:Message-ID:Date:From:Organization: User-Agent:MIME-Version:To:CC:Subject:References: In-Reply-To:X-Enigmail-Version:Content-Type: Content-Transfer-Encoding; b=nEO9/4m5LOaO88N6qs2ycAf1sJlrghHiA4MDRHUtg1zlbAuNAkzsVAN3 YWMkssno9T9/Hv7RhXrSIIipdKcl6YdjNSkwv5qEQ6Hb7TWAyE1huSAYt xMTV5h69k+RwFVuWk9r7xiANx3z8/m23YVc2wevkByHNBNSaOyneeGCON SMUw5FloNe0QQHbdC0JxuqXUWRxlb9LaOByA52zUQFjOWdLqntsACGHQk Ikd8KJ8yvXP/yckhKtRJKEIPdI3ZX;
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <C6F36422.16DB9%keir.fraser@xxxxxxxxxxxxx>
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: Fujitsu Technology Solutions
References: <C6F36422.16DB9%keir.fraser@xxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla-Thunderbird 2.0.0.22 (X11/20090707)
Keir Fraser wrote:
> On 08/10/2009 09:27, "Juergen Gross" <juergen.gross@xxxxxxxxxxxxxx> wrote:
> 
>> It would even be possible to define lock arrays if summing up all data for
>> e.g. domain specific locks is not desired.
> 
> Allowing spinlock_init() to specify not only a name but also a
> 'category-specific index' might be okay. For example, domid, in the case of
> a domain-specific lock. Hiding the allocation of profiling info structs in
> the spinlock subsystem somehow... (e.g., radix tree to make a simple
> growable array).

I'll try another patch...


Juergen

-- 
Juergen Gross                 Principal Developer Operating Systems
TSP ES&S SWE OS6                       Telephone: +49 (0) 89 636 47950
Fujitsu Technolgy Solutions               e-mail: juergen.gross@xxxxxxxxxxxxxx
Otto-Hahn-Ring 6                        Internet: ts.fujitsu.com
D-81739 Muenchen                 Company details: ts.fujitsu.com/imprint.html

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