linux-mips.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] Rearrange MIPS barriers and optimize for Octeon.
@ 2010-01-09  1:16 David Daney
  2010-01-09  1:17 ` [PATCH 1/2] MIPS: New macro smp_mb__before_llsc David Daney
  2010-01-09  1:17 ` [PATCH 2/2] MIPS: Octeon: Use optimized memory barrier primitives David Daney
  0 siblings, 2 replies; 5+ messages in thread
From: David Daney @ 2010-01-09  1:16 UTC (permalink / raw)
  To: Ralf Baechle, linux-mips

Locking/atomic performance on Octeon can be improved by using
optimized barrier instructions.  The first patch in this set
rearranges and simplifies (at least in my mind) the existing barriers.
Then the second patch adds Octeon specific barriers.

I will reply with the two patches.

David Daney (2):
   MIPS: New macro smp_mb__before_llsc.
   MIPS: Octeon: Use optimized memory barrier primitives.

  arch/mips/Kconfig                |    1 -
  arch/mips/include/asm/atomic.h   |   16 ++++++------
  arch/mips/include/asm/barrier.h  |   52 
+++++++++++++++++++++++++++-----------
  arch/mips/include/asm/bitops.h   |    8 +++---
  arch/mips/include/asm/cmpxchg.h  |   10 +++---
  arch/mips/include/asm/spinlock.h |    4 +-
  arch/mips/include/asm/system.h   |    4 +++
  7 files changed, 60 insertions(+), 35 deletions(-)

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

end of thread, other threads:[~2010-01-13 12:33 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-09  1:16 [PATCH 0/2] Rearrange MIPS barriers and optimize for Octeon David Daney
2010-01-09  1:17 ` [PATCH 1/2] MIPS: New macro smp_mb__before_llsc David Daney
2010-01-13 12:32   ` Ralf Baechle
2010-01-09  1:17 ` [PATCH 2/2] MIPS: Octeon: Use optimized memory barrier primitives David Daney
2010-01-13 12:33   ` Ralf Baechle

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).