Received: by 10.192.165.148 with SMTP id m20csp2826628imm; Mon, 7 May 2018 01:43:45 -0700 (PDT) X-Google-Smtp-Source: AB8JxZquq/EG6eeFY+SGk6ZhNp+iYW3z43PLsvympsz9sywCLaJUpW35MKmq+bxbCij6FzzhniDF X-Received: by 2002:a17:902:3e5:: with SMTP id d92-v6mr38609972pld.104.1525682625050; Mon, 07 May 2018 01:43:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525682625; cv=none; d=google.com; s=arc-20160816; b=wyiecrJYZdqoD7GLCWEkbeBCTz9Ese0kJz8ZqpDaFgwO3fgdzABK8GwLWQYxiMMews 5WbbIii9mJ1ROOe9uOJF1vukzudQ95MvpkvRuVRpUbf708FbFtgAD5SOd3SKo+r6e+08 l23iQXvVNC0HCv5mMRLLDJnAqqSazNqN6COg46z0m2OdqL9S4nNMqgK5PxA1Is6pzIaf XnSTr4JtZ6xOYqRYRqfXGl8p4HyMTqdNKpHycUMSXwTFywsyW2t+Du37gYTI5nPviuRT yHFzzMmzIIs5QjWzoL2Sj1Jh8OV7SctZI5NDldVeuaAmR99mIiGX3PMvMZS7sGPFxzeT BhLg== 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:arc-authentication-results; bh=3I5uxAUzs+wsbW5xY4fZhrVoyU7ryPZbuPvusvThyCY=; b=KZY97pmKYJPf8MMVlxB5N6qAyPaCaCE5z0AyIDLNQxY0QB3VX7MzofrM1Pv6U4N4DN eUQ4K92sfZekEJS9xctT7uYzRMbyV4qplv31ntr9z49vmlY+K+7FqIsZYHG74sH60Qfu 7Q8bvSj8jWYw8nPwOYe58iyCX3TLnUMYHB/J6m3F1XYvryYWgt3v23V4fUON7R9qzHOY QjGZcF7ZQrmPRj0thSUancVILh3JQiAkf/C/8DDWHvRg8nNEWvFiGePElbHWIQIQo7dM MNXBX3vJqab9op1i2sJkIxQe9kI9PfUdUtFcDzTvR+elFEdmzBQfmIhUcHAWIIOeZksO zEmg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=lpWm92cn; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f10-v6si19895521pln.443.2018.05.07.01.43.30; Mon, 07 May 2018 01:43:45 -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=pass header.i=@kernel.org header.s=default header.b=lpWm92cn; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752522AbeEGIm6 (ORCPT + 99 others); Mon, 7 May 2018 04:42:58 -0400 Received: from mail.kernel.org ([198.145.29.99]:51372 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752422AbeEGImq (ORCPT ); Mon, 7 May 2018 04:42:46 -0400 Received: from jamesdev (jahogan.plus.com [212.159.75.221]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 43AF020856; Mon, 7 May 2018 08:42:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1525682565; bh=/DEkbfaq1C0KaRsWjdGOm+ety4yhzWTjDRDWoXv1u2s=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=lpWm92cnFSGWeutv5V1YJcZK/gXxxfPDy8H6cJiMzdLm/eSifWGl6RMkROFkGzjJm fjwZXEld7NXnymjZnGs9l/sgztipj3W5bE4e3ZPQ8wc+m94h4IAdEyzzL10VaZkbqP fi2NYsVt1LSwdY/bpsbTJaFBk676pB+ApHU63oBo= Date: Mon, 7 May 2018 09:42:41 +0100 From: James Hogan To: Matt Turner Cc: linux-mips@linux-mips.org, Arnd Bergmann , Richard Henderson , Ivan Kokshaysky , linux-alpha , linux-arch@vger.kernel.org, LKML Subject: Re: [PATCH v3 1/3] alpha: Use OPTIMIZE_INLINING instead of asm/compiler.h Message-ID: <20180507084240.GA26491@jamesdev> References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="4Ckj6UjgE2iN1+kY" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.5 (2018-04-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --4Ckj6UjgE2iN1+kY Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, May 06, 2018 at 12:33:21PM -0700, Matt Turner wrote: > On Tue, Apr 17, 2018 at 3:11 AM, James Hogan wrote: > > Use CONFIG_ARCH_SUPPORTS_OPTIMIZED_INLINING and CONFIG_OPTIMIZE_INLINING > > instead of undefining the inline macros in the alpha specific > > asm/compiler.h. This is to allow asm/compiler.h to become a general > > header that can be used for overriding linux/compiler*.h. > > > > A build of alpha's defconfig on GCC 7.3 before and after this series > > (i.e. this commit and "compiler.h: Allow arch-specific overrides" which > > includes asm/compiler.h from linux/compiler_types.h) results in the > > following size differences, which appear harmless to me: > > > > $ ./scripts/bloat-o-meter vmlinux.1 vmlinux.2 > > add/remove: 1/1 grow/shrink: 3/0 up/down: 264/-348 (-84) > > Function old new delta > > cap_bprm_set_creds 1496 1664 +168 > > cap_issubset - 68 +68 > > flex_array_put 328 344 +16 > > cap_capset 488 500 +12 > > nonroot_raised_pE.constprop 348 - -348 > > Total: Before=3D5823709, After=3D5823625, chg -0.00% > > > > Suggested-by: Arnd Bergmann > > Signed-off-by: James Hogan > > Cc: Richard Henderson > > Cc: Ivan Kokshaysky > > Cc: Matt Turner > > Cc: linux-alpha@vger.kernel.org >=20 > Looks fine to me. >=20 > Acked-by: Matt Turner Thanks >=20 > Should I take it through the alpha tree? I'll take all 3 through the MIPS tree if thats okay with you, as its a prerequisite to allowing MIPS to override stuff in linux/compiler-gcc.h using asm/compiler.h, which is needed to fix build breakage in 4.17. Thanks James --4Ckj6UjgE2iN1+kY Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYIAB0WIQS7lRNBWUYtqfDOVL41zuSGKxAj8gUCWvARdwAKCRA1zuSGKxAj 8lBgAQCP2oPVxlMnAfCr0Yo39Uxm60KcRkh2IaN7I4Yy70sTUgD/WjirGCDfJ2kX nBSvzFt0+SEPc8JfmbIC+plydOz0LQ4= =XudF -----END PGP SIGNATURE----- --4Ckj6UjgE2iN1+kY--