Re: [RFC][PATCH 00/31] implement atomic_fetch_$op

2016-04-22 Thread Fengguang Wu
On Fri, Apr 22, 2016 at 09:35:06PM +0300, Kalle Valo wrote: > Fengguang Wu writes: > > >> OK, weirdness. I received the "BUILD SUCCESS" email without any arm64 > >> builds listed, but I just received a build bot email telling me the > >> arm64 build was borked (which I know it is). > > > > Sorry,

Re: [RFC][PATCH 00/31] implement atomic_fetch_$op

2016-04-22 Thread Fengguang Wu
On Fri, Apr 22, 2016 at 04:23:03PM +0200, Peter Zijlstra wrote: > On Fri, Apr 22, 2016 at 08:56:56PM +0800, Fengguang Wu wrote: > > I'll add arm64-defconfig to P1 list to improve its coverage. > > Thanks; any more architectures missing from P1? Good question! Just double checked and find s390 sti

Re: [RFC][PATCH 00/31] implement atomic_fetch_$op

2016-04-22 Thread Kalle Valo
Fengguang Wu writes: >> OK, weirdness. I received the "BUILD SUCCESS" email without any arm64 >> builds listed, but I just received a build bot email telling me the >> arm64 build was borked (which I know it is). > > Sorry, that may happen because even though most errors will be > detected in the

Re: [RFC][PATCH 00/31] implement atomic_fetch_$op

2016-04-22 Thread Peter Zijlstra
On Fri, Apr 22, 2016 at 08:56:56PM +0800, Fengguang Wu wrote: > I'll add arm64-defconfig to P1 list to improve its coverage. Thanks; any more architectures missing from P1?

Re: [RFC][PATCH 00/31] implement atomic_fetch_$op

2016-04-22 Thread Will Deacon
On Fri, Apr 22, 2016 at 08:56:56PM +0800, Fengguang Wu wrote: > On Fri, Apr 22, 2016 at 11:44:55AM +0200, Peter Zijlstra wrote: > > On Fri, Apr 22, 2016 at 11:04:13AM +0200, Peter Zijlstra wrote: > > > The one that I did not do was ARMv8.1-LSE and I was hoping Will would > > > help out > > > with

Re: [RFC][PATCH 00/31] implement atomic_fetch_$op

2016-04-22 Thread Fengguang Wu
On Fri, Apr 22, 2016 at 11:44:55AM +0200, Peter Zijlstra wrote: > On Fri, Apr 22, 2016 at 11:04:13AM +0200, Peter Zijlstra wrote: > > The one that I did not do was ARMv8.1-LSE and I was hoping Will would help > > out > > with that. Also, it looks like the 0-day built bot does not do arm64 builds,

[RFC][PATCH 00/31] implement atomic_fetch_$op

2016-04-22 Thread Peter Zijlstra
As there have been a few requests for atomic_fetch_$op primitives and recently by Linus, I figured I'd go and implement the lot. The atomic_fetch_$op differs from the existing atomic_$op_return we already have by returning the old value instead of the new value. This is especially useful when the

Re: [RFC][PATCH 00/31] implement atomic_fetch_$op

2016-04-22 Thread Peter Zijlstra
On Fri, Apr 22, 2016 at 11:04:13AM +0200, Peter Zijlstra wrote: > The one that I did not do was ARMv8.1-LSE and I was hoping Will would help out > with that. Also, it looks like the 0-day built bot does not do arm64 builds, > people might want to look into that. OK, weirdness. I received the "BUIL