Received: by 2002:ac0:98c7:0:0:0:0:0 with SMTP id g7-v6csp699011imd; Thu, 1 Nov 2018 04:16:55 -0700 (PDT) X-Google-Smtp-Source: AJdET5dRTQHAZ+8LV1buHdI1JCk5l7boJDLLb/4neBlc7uHnYaIQfqpPJ+jI+CFABF+t40UtCyoR X-Received: by 2002:a63:ec12:: with SMTP id j18mr5053415pgh.200.1541071015678; Thu, 01 Nov 2018 04:16:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1541071015; cv=none; d=google.com; s=arc-20160816; b=MSdyDjphAtI0BMalq167udx3lQmWGsanRen4mnKzvfISdlTx5vJBvyxTV52J8BIjTO moAJKzNb1Wy3WZ4MutdIa1JBnRu5+13kEOZGjRfnOzO6ojl4ixoqHp0xFYltpj5dvEMs niVr2M4zDgVPELrcwWnXEJkYEeqT7rz//wYd70Q3Qaj/R2cf8sQ1pLB9GdmeLrnpn7xh /mQ1jRq9yczVrkOjBtwG8rQ0Sxkn3YxsAd2iJnWr9MeQ3poZ9AWwreJqv898ps4ois5M vrZ7/i0R3e2eH+1SbGa3qeCTv6B00ERCukoIPyKUZU7pQTaEB2MD9bMs8WInV7WrLiXD VU3g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=gWqOTYZkHgjjHyE9vSrkJN0G7zLuwwNT6oQ9KO2L7ag=; b=MHXU0gyE/nocx76achVorJ6kufR9YOjL/tgsR+PtBVNP/uizLlT6h7TTPctPRynSST GNsiQrKCGsO7thpJrX5kJn89eUff0nPY+oe5lWBJcICGFvvtAMiG21hdhlCcZiM6uZvX ppvcTobQLGlxxqcEvxH7pXsJLO7bB2dDPV16zdNSC0F6DR/RSmGRikYI6wwsDRkbbKqM 4jkmfemvxcEgpVFdGPRQ+xI796A1s2eLfbHbvSddFQsupYKYvQZF/lR1ivZXAYauRy4/ jWPC6jLrDLI7vfw2v5OBgqirzrq4hAqv4RPQPXRT+KV8m0vlkh7whfdtm2RSX/8UmCHi uw/Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b="uFa8k/Zd"; 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 h10-v6si8176594pgh.234.2018.11.01.04.16.40; Thu, 01 Nov 2018 04:16:55 -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; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b="uFa8k/Zd"; 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 S1728035AbeKAUSs (ORCPT + 99 others); Thu, 1 Nov 2018 16:18:48 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:43572 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727736AbeKAUSs (ORCPT ); Thu, 1 Nov 2018 16:18:48 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=gWqOTYZkHgjjHyE9vSrkJN0G7zLuwwNT6oQ9KO2L7ag=; b=uFa8k/Zd3Vzx87d6FpfON25l6 zjexHnR5O/wM8N69BYmbQtfbC++QKvzEnFq9xpKudVtL0SUrPSfs0sVuqXk5p3sGyU1VrKz1AwHfw xNqKmabxJlyBJqqX+szytNO+eRhS6KauPRhTGYQxFuUhnRR66tprTc08w2yPPMEeYxS37p9w7kmJJ facNjJGZGvqSFdxWjlilUTI7LitTsuvZW3ejiBK2QqjDWz4Mp16zuQP6asd8GJFiF+owJ7Wrqxb4T tzdpRnffLnb2PnSc+W5rDGYbvGItnBCEVAktNXjbqw8OfVqv6R/+gRhlg3AMipirbbvoh5rhDqx7B Y3SIl/iWQ==; Received: from j217100.upc-j.chello.nl ([24.132.217.100] helo=hirez.programming.kicks-ass.net) by bombadil.infradead.org with esmtpsa (Exim 4.90_1 #2 (Red Hat Linux)) id 1gIAxB-0007bN-80; Thu, 01 Nov 2018 11:15:57 +0000 Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id 4321520296EF3; Thu, 1 Nov 2018 12:15:54 +0100 (CET) Date: Thu, 1 Nov 2018 12:15:54 +0100 From: Peter Zijlstra To: Joe Perches 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 Subject: Re: PROPOSAL: Extend inline asm syntax with size spec Message-ID: <20181101111554.GC3178@hirez.programming.kicks-ass.net> References: <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> <02085d90af8a81b69cb38e0fdd6a018f151a58d8.camel@perches.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <02085d90af8a81b69cb38e0fdd6a018f151a58d8.camel@perches.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Nov 01, 2018 at 02:20:40AM -0700, Joe Perches wrote: > 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 That's the point, therefore checkpatch should error when it sees them. Otherwise we'll grow new instances, because it will compile just file.