Hi Paul,

On Tue, 5 Feb 2019 23:35:31 +0000 Paul Burton <[email protected]> wrote:
>
> cmpxchg() doesn't need the added loongson_llsc_mb() barrier that
> set_pte() has in mips-fixes because for the affected Loongson 3
> configurations the smp_mb__before_llsc() that cmpxchg() already contains
> is equivalent (both will emit a "sync 0" instruction).

OK, good to know, thanks.

-- 
Cheers,
Stephen Rothwell

Attachment: pgp5Lr00y775U.pgp
Description: OpenPGP digital signature

Reply via email to