[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1397498661.2962.5.camel@joe-AO722>
Date: Mon, 14 Apr 2014 11:04:21 -0700
From: Joe Perches <joe@...ches.com>
To: Pranith Kumar <bobby.prani@...il.com>
Cc: catalin.marinas@....com, will.deacon@....com,
LKML <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH 1/1] prefetch result for ARM64 atomic ops
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?
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists