From: Nick Piggin <nickpiggin@yahoo.com.au>
To: Andi Kleen <ak@suse.de>
Cc: linux-arch@vger.kernel.org, Linus Torvalds <torvalds@osdl.org>,
Andrew Morton <akpm@osdl.org>
Subject: Re: [patch] make spin_lock_prefetch a noop for UP
Date: Thu, 04 Aug 2005 23:37:09 +1000 [thread overview]
Message-ID: <42F21A05.1050102@yahoo.com.au> (raw)
In-Reply-To: <20050804132539.GU8266@wotan.suse.de>
Andi Kleen wrote:
>>From include/linux/prefetch.h:
>>
>>"spin_lock_prefetch(x) - prefectches the spinlock *x for taking"
>>
>>So this would reduce icache footprint and possibly memory
>>traffic on UP where taking a spinlock is a noop.
>
>
> Ah you want to disable it on UP?
> Ok that makes more sense. Why didn't you just say that? :)
>
Well I did, in a confusing kind of way ;) ... with the alternative
input stuff being used here, "noop" becomes ambiguous I guess.
> Anyways, even on UP it might be useful on all these mutex or whatever
> lock is envogue these days preemptive kernels.
>
I'm sure it would be useful. Though it is something that could be
maintained out of tree.
--
SUSE Labs, Novell Inc.
Send instant messages to your online friends http://au.messenger.yahoo.com
prev parent reply other threads:[~2005-08-04 13:37 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-08-04 13:07 [patch] make spin_lock_prefetch a noop for UP Nick Piggin
2005-08-04 13:10 ` Andi Kleen
2005-08-04 13:16 ` Nick Piggin
2005-08-04 13:25 ` Andi Kleen
2005-08-04 13:37 ` Nick Piggin [this message]
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=42F21A05.1050102@yahoo.com.au \
--to=nickpiggin@yahoo.com.au \
--cc=ak@suse.de \
--cc=akpm@osdl.org \
--cc=linux-arch@vger.kernel.org \
--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