mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Joe Perches <joe@perches.com>
To: Pranith Kumar <bobby.prani@gmail.com>
Cc: catalin.marinas@arm.com, will.deacon@arm.com,
	LKML <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH 1/1] prefetch result for ARM64 atomic ops
Date: Mon, 14 Apr 2014 11:04:21 -0700	[thread overview]
Message-ID: <1397498661.2962.5.camel@joe-AO722> (raw)
In-Reply-To: <CAJhHMCDBPPB4H3Oc1JVd_R_dMaao9cWBj8rjrweFmAp9nn97AQ@mail.gmail.com>

On Mon, 2014-04-14 at 13:55 -0400, Pranith Kumar wrote:

Are there some benchmark comparison results
you neglected to attach?

> diff --git a/arch/arm64/include/asm/atomic.h b/arch/arm64/include/asm/atomic.h
[]
> @@ -235,6 +244,7 @@ static inline long atomic64_cmpxchg(atomic64_t
> *ptr, long old, long new)
>      unsigned long res;
> 
>      smp_mb();
> +    prefetchw(&v->counter);

Does this compile?



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

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-14 17:55 Pranith Kumar
2014-04-14 18:04 ` Joe Perches [this message]
2014-04-14 18:11   ` Pranith Kumar
2014-04-14 18:29     ` Joe Perches
2014-04-14 18:32       ` Pranith Kumar

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=1397498661.2962.5.camel@joe-AO722 \
    --to=joe@perches.com \
    --cc=bobby.prani@gmail.com \
    --cc=catalin.marinas@arm.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=will.deacon@arm.com \
    /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

all inboxes | Powered by JetHome®