[PATCH] seqlock: don't smp_rmb in seqlock reader spin loop

Andi Kleen andi at firstfloor.org
Fri May 13 00:08:32 EST 2011


On Thu, May 12, 2011 at 04:13:54AM -0500, Milton Miller wrote:
> 
> Move the smp_rmb after cpu_relax loop in read_seqlock and add
> ACCESS_ONCE to make sure the test and return are consistent.
> 
> A multi-threaded core in the lab didn't like the update

Which core was that?

-Andi


More information about the Linuxppc-dev mailing list