Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751618AbdCYSBx (ORCPT ); Sat, 25 Mar 2017 14:01:53 -0400 Received: from mail-it0-f53.google.com ([209.85.214.53]:37669 "EHLO mail-it0-f53.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751395AbdCYSAq (ORCPT ); Sat, 25 Mar 2017 14:00:46 -0400 MIME-Version: 1.0 In-Reply-To: <20170325075156.GF32474@worktop> References: <20170324142140.vpyzl755oj6rb5qv@hirez.programming.kicks-ass.net> <20170324164108.ibcxxqbhvx6ao54r@hirez.programming.kicks-ass.net> <20170324172342.radlrhk2z6mwmdgk@hirez.programming.kicks-ass.net> <20170324212329.GC5680@worktop> <20170325075156.GF32474@worktop> From: Linus Torvalds Date: Sat, 25 Mar 2017 11:00:44 -0700 X-Google-Sender-Auth: casH53AiTYVnsYAvsTqDjyX_no4 Message-ID: Subject: Re: locking/atomic: Introduce atomic_try_cmpxchg() To: Peter Zijlstra Cc: Andy Lutomirski , Dmitry Vyukov , Andrew Morton , Andy Lutomirski , Borislav Petkov , Brian Gerst , Denys Vlasenko , "H. Peter Anvin" , Josh Poimboeuf , Paul McKenney , Thomas Gleixner , Ingo Molnar , LKML Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 793 Lines: 20 On Sat, Mar 25, 2017 at 12:51 AM, Peter Zijlstra wrote: > On Fri, Mar 24, 2017 at 10:23:29PM +0100, Peter Zijlstra wrote: > >> I'll try and redo the patches that landed in tip and see what it does >> for total vmlinux size somewhere tomorrow. > > text data bss dec hex filename > 10726413 4540256 843776 16110445 f5d36d defconfig-build/vmlinux.pre > 10730509 4540256 843776 16114541 f5e36d defconfig-build/vmlinux.post > > :-( Hmm. But you are comparing against the *broken* version that did the unconditional store of the result. You should at least compare against the fixed version with the conditional store. That's the one that was hard to get good code generation from, wasn't it? Linus