[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [Patch] support of lock profiling in Xen

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).

 -- Keir

Xen-devel mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.