Re: locking/atomic: Introduce atomic_try_cmpxchg()

From: Linus Torvalds
Date: Sat Mar 25 2017 - 18:08:45 EST


On Sat, Mar 25, 2017 at 2:13 PM, Peter Zijlstra <peterz@xxxxxxxxxxxxx> wrote:
> On Sat, Mar 25, 2017 at 11:34:32AM -0700, Linus Torvalds wrote:
>>
>> Oh, I just noticed that at least your other one didn't mark "success"
>> as being likely.
>
> 10730509 4540256 843776 16114541 f5e36d defconfig-build/vmlinux

Ok, that seems to be the exact same size as with the patch using the
"goto label" approach. So maybe the code generation is the same now.

Linus