Received: by 2002:ac0:98c7:0:0:0:0:0 with SMTP id g7-v6csp595645imd; Thu, 1 Nov 2018 02:22:43 -0700 (PDT) X-Google-Smtp-Source: AJdET5cb1YeEYpkRvJbcShNjUpMjZb3vPNLshLpl+j1u8E/1+R8kxUG8EjWUrrxvAtxbFnQ8UjRp X-Received: by 2002:a63:4e41:: with SMTP id o1mr6650943pgl.282.1541064163178; Thu, 01 Nov 2018 02:22:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1541064163; cv=none; d=google.com; s=arc-20160816; b=flVOe2pxMqL8BhAeEBWFCr+52UjpdehXVN0feRXQ57nidAfmDomePFZ+Mgk5weqcwh hU3roUHF9AWbql9Axx/LJvtrOC8EVO+XIK2f3zATxXbaLBZb/t1jqO5Qn2VWyd82kciv 3OidUtOe9TMEMdNoo7GlzeBUdx2Hf0eDM0+XWAtwAly0jwkoanrTg+oheOKN904i7CUl u6YI0z3M/39uLaJH2QySrbu8/XvsOtcikU5ar7CjHsHiSexgFEfotFEfA2ciuENOgx2K AkrUd1jZT7Fb+IU/ydkmzLhaPrHB0GFSN3atHuahwLkcgaBBNBOoHBPDJIviEOW9rF0/ Q93A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:date:cc:to:from:subject :message-id; bh=ZnIV2iKc6k1gbdfhjBIcr938Eg3+R0unW0aqbtopT3A=; b=rBnOjMWUAR3RfcY4KrZzQ/Sogn+U+gz7bxsy3S+B2M4g1y1Knpv0bAsxhEuUONQbk8 4CjoNfTTUI3zwJjk0J/j10A4+HUnA1fEG60N8ehfMdhal4EMvXb/Wu8P9OBn1NAlhlZq amtEEHHqdCiMEftg2zUY+xKJqZG2heKQ6xFYmNyUv/GMuLdwU+J2hTfNtJEvJsp5aPIA ZaeI40JMrZbS/gtb9YGC2aTbfMS+D2H8U5alGANGKyMvin0/MzRpTy+PezoCL7MRIUg9 Td6TwFx28X/0lsB/h1RoUZ2PP+gjDZCyxAY8bQTp93yW3sbiFPuvbgCl4C46jRp5ZPhG Z1dA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 33-v6si15984971plt.22.2018.11.01.02.22.28; Thu, 01 Nov 2018 02:22:43 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727773AbeKASW5 (ORCPT + 99 others); Thu, 1 Nov 2018 14:22:57 -0400 Received: from smtprelay0124.hostedemail.com ([216.40.44.124]:44820 "EHLO smtprelay.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727516AbeKASW4 (ORCPT ); Thu, 1 Nov 2018 14:22:56 -0400 Received: from filter.hostedemail.com (clb03-v110.bra.tucows.net [216.40.38.60]) by smtprelay05.hostedemail.com (Postfix) with ESMTP id C749A1806221D; Thu, 1 Nov 2018 09:20:45 +0000 (UTC) X-Session-Marker: 6A6F6540706572636865732E636F6D X-Spam-Summary: X-HE-Tag: goat79_602640f0dc33 X-Filterd-Recvd-Size: 3546 Received: from XPS-9350.home (unknown [47.151.153.53]) (Authenticated sender: joe@perches.com) by omf12.hostedemail.com (Postfix) with ESMTPA; Thu, 1 Nov 2018 09:20:41 +0000 (UTC) Message-ID: <02085d90af8a81b69cb38e0fdd6a018f151a58d8.camel@perches.com> Subject: Re: PROPOSAL: Extend inline asm syntax with size spec From: Joe Perches To: Peter Zijlstra Cc: Borislav Petkov , Segher Boessenkool , Ingo Molnar , Richard Biener , Michael Matz , gcc@gcc.gnu.org, Nadav Amit , Ingo Molnar , linux-kernel@vger.kernel.org, x86@kernel.org, Masahiro Yamada , Sam Ravnborg , Alok Kataria , Christopher Li , Greg Kroah-Hartman , "H. Peter Anvin" , Jan Beulich , Josh Poimboeuf , Juergen Gross , Kate Stewart , Kees Cook , linux-sparse@vger.kernel.org, Philippe Ombredanne , Thomas Gleixner , virtualization@lists.linux-foundation.org, Linus Torvalds , Chris Zankel , Max Filippov , linux-xtensa@linux-xtensa.org, Andrew Morton Date: Thu, 01 Nov 2018 02:20:40 -0700 In-Reply-To: <20181101090114.GE3159@hirez.programming.kicks-ass.net> References: <20181009145330.GT29268@gate.crashing.org> <20181010072240.GB103159@gmail.com> <20181010080324.GV29268@gate.crashing.org> <20181010081906.GA5533@zn.tnic> <20181010185432.GB29268@gate.crashing.org> <20181010191427.GF5533@zn.tnic> <20181013193335.GD31650@zn.tnic> <20181031125526.GA13219@hirez.programming.kicks-ass.net> <5f987ecbb4962b4796615928d9d71f2cf9b21a3b.camel@perches.com> <20181101090114.GE3159@hirez.programming.kicks-ass.net> Content-Type: text/plain; charset="ISO-8859-1" User-Agent: Evolution 3.30.1-1build1 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 2018-11-01 at 10:01 +0100, Peter Zijlstra wrote: > On Wed, Oct 31, 2018 at 10:20:00PM -0700, Joe Perches wrote: > > On Wed, 2018-10-31 at 13:55 +0100, Peter Zijlstra wrote: > > > Anyway, with the below patch, I get: > > > > > > text data bss dec hex filename > > > 17385183 5064780 1953892 24403855 1745f8f defconfig-build/vmlinux > > > 17385678 5064780 1953892 24404350 174617e defconfig-build/vmlinux > > > > > > Which shows we inline more (look for asm_volatile for the actual > > > changes). > > [] > > > scripts/checkpatch.pl | 8 ++--- > > > scripts/genksyms/keywords.c | 4 +-- > > > scripts/kernel-doc | 4 +-- > > > > I believe these should be excluded from the conversions. > > Probably, yes. It compiled, which was all I cared about :-) > > BTW, if we do that conversion, we should upgrade the checkpatch warn to > an error I suppose. More like remove altogether as __inline and __inline__ will no longer be #defined $ git grep -P 'define\s+__inline' include/linux/compiler_types.h:#define __inline__ inline include/linux/compiler_types.h:#define __inline inline