Re: [PATCH 1/1] prefetch result for ARM64 atomic ops

From: Joe Perches
Date: Mon Apr 14 2014 - 14:05:02 EST


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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/