Re: svn commit: r358733 - head/sys/sys

2020-03-12 Thread Andriy Gapon
On 12/03/2020 09:48, Alan Cox wrote: > Just to be clear, this is not just a matter of whether our release fences are > poorly or inefficiently implemented.  Release fences (as defined by the C/C++ > standards that inspire our atomics) have *different* semantics than release > stores. Specifically,

Re: svn commit: r358733 - head/sys/sys

2020-03-12 Thread Alan Cox
On 3/11/20 9:16 PM, Mateusz Guzik wrote: On 3/10/20, Konstantin Belousov wrote: On Tue, Mar 10, 2020 at 12:22:09AM +0100, Mateusz Guzik wrote: On 3/9/20, Konstantin Belousov wrote: On Mon, Mar 09, 2020 at 01:56:17AM +0100, Mateusz Guzik wrote: On 3/8/20, Mateusz Guzik wrote: Author: mjg

Re: svn commit: r358733 - head/sys/sys

2020-03-11 Thread Mateusz Guzik
On 3/10/20, Konstantin Belousov wrote: > On Tue, Mar 10, 2020 at 12:22:09AM +0100, Mateusz Guzik wrote: >> On 3/9/20, Konstantin Belousov wrote: >> > On Mon, Mar 09, 2020 at 01:56:17AM +0100, Mateusz Guzik wrote: >> >> On 3/8/20, Mateusz Guzik wrote: >> >> > Author: mjg >> >> > Date: Sun Mar 8

Re: svn commit: r358733 - head/sys/sys

2020-03-10 Thread Konstantin Belousov
On Tue, Mar 10, 2020 at 12:22:09AM +0100, Mateusz Guzik wrote: > On 3/9/20, Konstantin Belousov wrote: > > On Mon, Mar 09, 2020 at 01:56:17AM +0100, Mateusz Guzik wrote: > >> On 3/8/20, Mateusz Guzik wrote: > >> > Author: mjg > >> > Date: Sun Mar 8 00:22:32 2020 > >> > New Revision: 358733 > >>

Re: svn commit: r358733 - head/sys/sys

2020-03-09 Thread Mateusz Guzik
On 3/9/20, Konstantin Belousov wrote: > On Mon, Mar 09, 2020 at 01:56:17AM +0100, Mateusz Guzik wrote: >> On 3/8/20, Mateusz Guzik wrote: >> > Author: mjg >> > Date: Sun Mar 8 00:22:32 2020 >> > New Revision: 358733 >> > URL: https://svnweb.freebsd.org/changeset/base/358733 >> > >> > Log: >> >

Re: svn commit: r358733 - head/sys/sys

2020-03-09 Thread Konstantin Belousov
On Mon, Mar 09, 2020 at 01:56:17AM +0100, Mateusz Guzik wrote: > On 3/8/20, Mateusz Guzik wrote: > > Author: mjg > > Date: Sun Mar 8 00:22:32 2020 > > New Revision: 358733 > > URL: https://svnweb.freebsd.org/changeset/base/358733 > > > > Log: > > seqc: tidy up > > > > - avoid hand-rolled

Re: svn commit: r358733 - head/sys/sys

2020-03-08 Thread Mateusz Guzik
On 3/8/20, Mateusz Guzik wrote: > Author: mjg > Date: Sun Mar 8 00:22:32 2020 > New Revision: 358733 > URL: https://svnweb.freebsd.org/changeset/base/358733 > > Log: > seqc: tidy up > > - avoid hand-rolled read > - match begin/end in terms of fence style > There were off lists questions

svn commit: r358733 - head/sys/sys

2020-03-07 Thread Mateusz Guzik
Author: mjg Date: Sun Mar 8 00:22:32 2020 New Revision: 358733 URL: https://svnweb.freebsd.org/changeset/base/358733 Log: seqc: tidy up - avoid hand-rolled read - match begin/end in terms of fence style Modified: head/sys/sys/seqc.h Modified: head/sys/sys/seqc.h