Re: svn commit: r313040 - head/sys/mips/include

2017-02-01 Thread David Chisnall
On 1 Feb 2017, at 08:13, Konstantin Belousov wrote: > > On Wed, Feb 01, 2017 at 10:38:42AM -0500, Alexander Kabaev wrote: >> On Wed, 1 Feb 2017 16:17:21 +0200 >> Konstantin Belousov wrote: >> >>> Please do not retry on sc failure, return the error to

Re: svn commit: r313040 - head/sys/mips/include

2017-02-01 Thread Konstantin Belousov
On Wed, Feb 01, 2017 at 10:38:42AM -0500, Alexander Kabaev wrote: > On Wed, 1 Feb 2017 16:17:21 +0200 > Konstantin Belousov wrote: > > > Please do not retry on sc failure, return the error to upper layer. > > See also r313007 and preceeding discussion after r312973. > >

Re: svn commit: r313040 - head/sys/mips/include

2017-02-01 Thread Alexander Kabaev
On Wed, 1 Feb 2017 16:17:21 +0200 Konstantin Belousov wrote: > Please do not retry on sc failure, return the error to upper layer. > See also r313007 and preceeding discussion after r312973. There was not much a discussion there, do you mind expanding a bit on why one

Re: svn commit: r313040 - head/sys/mips/include

2017-02-01 Thread Konstantin Belousov
On Wed, Feb 01, 2017 at 05:00:34AM +, Alexander Kabaev wrote: > Author: kan > Date: Wed Feb 1 05:00:34 2017 > New Revision: 313040 > URL: https://svnweb.freebsd.org/changeset/base/313040 > > Log: > Add atomic_fcmpset_*() inlines for MIPS > > atomic_fcmpset_*() is analogous to

svn commit: r313040 - head/sys/mips/include

2017-01-31 Thread Alexander Kabaev
Author: kan Date: Wed Feb 1 05:00:34 2017 New Revision: 313040 URL: https://svnweb.freebsd.org/changeset/base/313040 Log: Add atomic_fcmpset_*() inlines for MIPS atomic_fcmpset_*() is analogous to atomic_cmpset(), but saves off the read value from the target memory location into the