Re: svn commit: r291242 - head/sys/powerpc/include

2015-11-24 Thread Konstantin Belousov
On Tue, Nov 24, 2015 at 09:13:21AM +, Konstantin Belousov wrote: > Author: kib > Date: Tue Nov 24 09:13:21 2015 > New Revision: 291242 > URL: https://svnweb.freebsd.org/changeset/base/291242 > > Log: > On PowerPC 64bit, the linux-compat mb() definition is implemented with > lwsync instruct

svn commit: r291242 - head/sys/powerpc/include

2015-11-24 Thread Konstantin Belousov
Author: kib Date: Tue Nov 24 09:13:21 2015 New Revision: 291242 URL: https://svnweb.freebsd.org/changeset/base/291242 Log: On PowerPC 64bit, the linux-compat mb() definition is implemented with lwsync instruction, which does not provide Store/Load barrier. Fix this by using "full" sync barr