|
|
|
|
|
|
|
|
|
|
xen-devel
Re: [Xen-devel] lock contention measuring code?
On 07/04/2009 19:41, "Dan Magenheimer" <dan.magenheimer@xxxxxxxxxx> wrote:
>> I don't remember such a patch.
>
> Hmmm... maybe it was a patch in xenlinux?
>
>> probably wouldn't be hard to knock something up?
>
> Maybe if I were an x86 assembly guru ;-)
It doesn't need to be done in assembly code. The spinlock C functions are
all in C file common/spinlock.c and all the try-and-spin logic is
implemented in C now. Only try-to-take-lock and unlock are in asm.
-- Keir
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
|
|
|
|