All of lore.kernel.org
 help / color / mirror / Atom feed
From: David Daney <ddaney@caviumnetworks.com>
To: Ralf Baechle <ralf@linux-mips.org>,
	linux-mips <linux-mips@linux-mips.org>
Subject: [PATCH 0/2] Rearrange MIPS barriers and optimize for Octeon.
Date: Fri, 08 Jan 2010 17:16:29 -0800	[thread overview]
Message-ID: <4B47D8ED.1020006@caviumnetworks.com> (raw)

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(-)

             reply	other threads:[~2010-01-09  1:16 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-01-09  1:16 David Daney [this message]
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

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=4B47D8ED.1020006@caviumnetworks.com \
    --to=ddaney@caviumnetworks.com \
    --cc=linux-mips@linux-mips.org \
    --cc=ralf@linux-mips.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.