From mboxrd@z Thu Jan 1 00:00:00 1970 From: Keith Owens Date: Wed, 12 Mar 2003 21:51:04 +0000 Subject: [Linux-ia64] Re: ia64_spinlock_contention and NEW_LOCK Message-Id: List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-ia64@vger.kernel.org On Wed, 12 Mar 2003 09:27:14 -0800, David Mosberger wrote: >>>>>> On Wed, 12 Mar 2003 21:19:37 +1100, Keith Owens 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 :)