public inbox for linux-arch@vger.kernel.org
 help / color / mirror / Atom feed
* [patch] make spin_lock_prefetch a noop for UP
@ 2005-08-04 13:07 Nick Piggin
  2005-08-04 13:10 ` Andi Kleen
  0 siblings, 1 reply; 5+ messages in thread
From: Nick Piggin @ 2005-08-04 13:07 UTC (permalink / raw)
  To: linux-arch, Linus Torvalds, Andrew Morton

[-- Attachment #1: Type: text/plain, Size: 277 bytes --]

Is this any good?

The counter argument would be that one might prefetch a
spinlock in the head of a data structure, and expect
the rest of the cacheline to be in cache as well. Though
in that case, maybe prefetch/prefetchw should be used
instead.

-- 
SUSE Labs, Novell Inc.


[-- Attachment #2: prefetch-noop-spinlock.patch --]
[-- Type: image/x-xbitmap, Size: 4866 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2005-08-04 13:37 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox