public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Andi Kleen <ak@suse.de>
To: Chuck Ebbert <76306.1226@compuserve.com>
Cc: linux-kernel <linux-kernel@vger.kernel.org>,
	Andi Kleen <ak@suse.de>, Andrew Morton <akpm@osdl.org>,
	Linus Torvalds <torvalds@osdl.org>, Ingo Molnar <mingo@elte.hu>
Subject: Re: [patch 2.6.14-rc4] i386: spinlock optimization
Date: Fri, 14 Oct 2005 20:04:14 +0200	[thread overview]
Message-ID: <20051014180414.GD3502@verdi.suse.de> (raw)
In-Reply-To: <200510141350_MC3-1-ACA0-C8C9@compuserve.com>

On Fri, Oct 14, 2005 at 01:47:09PM -0400, Chuck Ebbert wrote:
> Attempt to acquire spinlock sooner after spinning and then noticing
> it has become available.  Also adds a slight delay before testing the
> spinlock again when it's not available, reducing bus traffic.

I doubt your change adds any noticeable delay on a aggressive
OOO CPU, which are pretty much all modern x86s. It's probably
a nop.

-Andi


  reply	other threads:[~2005-10-14 18:04 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-10-14 17:47 [patch 2.6.14-rc4] i386: spinlock optimization Chuck Ebbert
2005-10-14 18:04 ` Andi Kleen [this message]
2005-10-14 18:24 ` linux-os (Dick Johnson)
2005-10-14 18:32   ` Andrew Morton
2005-10-14 18:55     ` linux-os (Dick Johnson)
2005-10-14 18:37   ` Linus Torvalds
2005-10-14 18:56     ` linux-os (Dick Johnson)
  -- strict thread matches above, loose matches on Subject: below --
2005-10-15  1:24 Chuck Ebbert
2005-10-15 15:09 ` Ingo Molnar

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20051014180414.GD3502@verdi.suse.de \
    --to=ak@suse.de \
    --cc=76306.1226@compuserve.com \
    --cc=akpm@osdl.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@elte.hu \
    --cc=torvalds@osdl.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox