From mboxrd@z Thu Jan 1 00:00:00 1970 From: Juergen Gross Subject: Re: [Patch] support of lock profiling in Xen Date: Thu, 08 Oct 2009 11:04:48 +0200 Message-ID: <4ACDAB30.5040205@ts.fujitsu.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Keir Fraser Cc: "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org Keir Fraser wrote: > On 08/10/2009 09:27, "Juergen Gross" 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@ts.fujitsu.com Otto-Hahn-Ring 6 Internet: ts.fujitsu.com D-81739 Muenchen Company details: ts.fujitsu.com/imprint.html