[Linux-ia64] Re: ia64_spinlock_contention and NEW_LOCK

From: Keith Owens <kaos_at_sgi.com>
Date: 2003-03-13 08:51:04
On Wed, 12 Mar 2003 09:27:14 -0800, 
David Mosberger <davidm@napali.hpl.hp.com> wrote:
>>>>>> On Wed, 12 Mar 2003 21:19:37 +1100, Keith Owens <kaos@sgi.com> said:
>
>  Keith> The inline code for an uncontended lock drops from 5 to 4
>  Keith> bundles for each use of spin_lock().  The uncontended path
>  Keith> has one less memory access.
>
>For McKinley and later, you can use brl to avoid the
>movl/indirect-branch combo.

That brings the uncontended code path down to 3 bundles :)
Received on Wed Mar 12 13:51:19 2003

This archive was generated by hypermail 2.1.8 : 2005-08-02 09:20:12 EST