Re: [PATCH] atomic: add atomic_inc_not_zero_hint()
From: Andi Kleen
Date: Mon Nov 15 2010 - 09:39:15 EST
> > atomic_read() and atomic_cmpxchg(). We tried prefetchw() and it was a
> > performance drop. It was with only 16 cpus contending on neighbour
>
> Does prefetchw work? Andi claims that prefetchw is not working on
> x86 and I doubt that you ran tests on Itanium.
AMD supports it due to their MOESI protocol, but it's not supported
in MESIF as used by Intel QPI. The kernel maps it on Intel to
ordinary prefetch.
-Andi
--
ak@xxxxxxxxxxxxxxx -- Speaking for myself only.
--
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/