Re: [PATCH V2] powerpc: Don't do runtime futex_cmpxchg test

2018-02-28 Thread Michael Ellerman
"Aneesh Kumar K.V" writes: > futex_detect_cmpxchg() does a cmpxchg_futex_value_locked on a NULL user addr > to > runtime detect whether architecture implements atomic cmpxchg for futex. POWER > do implement the feature and hence we can enable the config instead of > depending > on runtime detec

Re: [PATCH V2] powerpc: Don't do runtime futex_cmpxchg test

2018-02-26 Thread Aneesh Kumar K.V
Nicholas Piggin writes: > On 27 Feb. 2018 00:34, "Aneesh Kumar K.V" > wrote: > > futex_detect_cmpxchg() does a cmpxchg_futex_value_locked on a NULL user > addr to > runtime detect whether architecture implements atomic cmpxchg for futex. > POWER > do implement the feature and hence we can enable

Re: [PATCH V2] powerpc: Don't do runtime futex_cmpxchg test

2018-02-26 Thread Nicholas Piggin
On 27 Feb. 2018 00:34, "Aneesh Kumar K.V" wrote: futex_detect_cmpxchg() does a cmpxchg_futex_value_locked on a NULL user addr to runtime detect whether architecture implements atomic cmpxchg for futex. POWER do implement the feature and hence we can enable the config instead of depending on runti

[PATCH V2] powerpc: Don't do runtime futex_cmpxchg test

2018-02-26 Thread Aneesh Kumar K.V
futex_detect_cmpxchg() does a cmpxchg_futex_value_locked on a NULL user addr to runtime detect whether architecture implements atomic cmpxchg for futex. POWER do implement the feature and hence we can enable the config instead of depending on runtime detection. We could possible enable this on eve