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

Andi Kleen
2011-05-12T14:08:43Z

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