[Linux-ia64] Re: ia64_spinlock_contention and NEW_LOCK

Keith Owens
2003-03-12T21:51:04Z

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