Re: __clear_bit_lock to use atomic clear_bit (was Re: Patch "asm-generic/bitops/lock.h)

2018-08-31 Thread Peter Zijlstra
On Fri, Aug 31, 2018 at 12:29:27AM +, Vineet Gupta wrote: > On 08/30/2018 02:44 AM, Peter Zijlstra wrote: > >> Back in 2016, Peter had fixed this file due to a problem I reported on > >> ARC. See > >> commit f75d48644c56a ("bitops: Do not default to __clear_bit() for > >> __clear_bit_unlock()"

__clear_bit_lock to use atomic clear_bit (was Re: Patch "asm-generic/bitops/lock.h)

2018-08-30 Thread Vineet Gupta
On 08/30/2018 02:44 AM, Peter Zijlstra wrote: >> Back in 2016, Peter had fixed this file due to a problem I reported on ARC. >> See >> commit f75d48644c56a ("bitops: Do not default to __clear_bit() for >> __clear_bit_unlock()") >> That made __clear_bit_unlock() use the atomic clear_bit() vs. non-a