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

Re: [Xen-devel] lock contention measuring code?


  • To: Dan Magenheimer <dan.magenheimer@xxxxxxxxxx>, "Xen-Devel (E-mail)" <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • From: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
  • Date: Tue, 07 Apr 2009 22:35:12 +0100
  • Cc:
  • Delivery-date: Tue, 07 Apr 2009 14:35:41 -0700
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>
  • Thread-index: Acm3sIEiiNNpVCsYQTy5SbPjckOw9AAGDoiC
  • Thread-topic: [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


 


Rackspace

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