Received: by 10.192.165.148 with SMTP id m20csp2345785imm; Sun, 6 May 2018 12:34:09 -0700 (PDT) X-Google-Smtp-Source: AB8JxZpobggQqNUNhPdZD8e0wjnOHDX5h4f11ID38R3pnRY1+8k+vKlFz/Al2iPtQTThZfmr3eqJ X-Received: by 2002:a65:61c8:: with SMTP id j8-v6mr18858592pgv.370.1525635249755; Sun, 06 May 2018 12:34:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525635249; cv=none; d=google.com; s=arc-20160816; b=OHJIsol4tmTsAPK54XF0NG03xsot+DDhNea4fPQM0FXbg9D1XFVn6Lg8Xr1X/StiiX VQuHHUcHQKIF2agdPUJIpMw1VJqDo4Xun6CbTYdT91rxlr+lvLH4JvIqycEqrFNyUVDM llZlk9mgHjRgCG1sQsAhhepj3wDWwbOLXNjE1bXG4e8mNVgy2IlXGaFhTjHh7YUcb3xb Pox7dQaS81LQ9qGdvc6IXk6U18M3lzL5w/t+Az75Dl99w0BdTInQ9evYIsUv5c9sjUWJ cxSpM5AngVQnaBVy8d84+UBvC8+Lctl3bE1YaApFVesf8KgeiymEkbhvTt0ScX3zitcj ODEA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=omRzlOpKABUbZoIFWBOWZAHJwXr5O5qBQ/hIKYF+bK8=; b=xtRaE+0jshnYRwJC5Qm3COWKWP5vyePM6LbLFb4GPdTMXu1rUfKdnfY4TmIy7hLx5T WI3/OkJdVtWwAGiZRqEURlsuSMeQyXONm4SZUcNJoSArAoRqpz21Cxg/0g9pMrFNnQFf iGmI5cRPKz4g9Y0Ak0ChGUMYKx7ihVVPdYMPZd72x0hv1wAeNbExm5SSNHQa2bavigNq XsoxnIzbpQtkyezFGt4D1EUfoboCQxOr2s2eu7GPkc4R5IPtd91vNT03R+2rs9UFgiXg 5AB8DVXXKvc9lD7TuWjMFighv5FxmvMdn8Y7NC3B/P+kXHG58klTgn0veyDfKfhx/jvx +iaQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Tq3UYLvk; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l4-v6si20595814plb.213.2018.05.06.12.33.53; Sun, 06 May 2018 12:34:09 -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=@gmail.com header.s=20161025 header.b=Tq3UYLvk; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751855AbeEFTdo (ORCPT + 99 others); Sun, 6 May 2018 15:33:44 -0400 Received: from mail-io0-f196.google.com ([209.85.223.196]:42538 "EHLO mail-io0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751811AbeEFTdm (ORCPT ); Sun, 6 May 2018 15:33:42 -0400 Received: by mail-io0-f196.google.com with SMTP id a10-v6so31226742ioc.9; Sun, 06 May 2018 12:33:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=omRzlOpKABUbZoIFWBOWZAHJwXr5O5qBQ/hIKYF+bK8=; b=Tq3UYLvkvN+oSqgigDcofD+h/uv+RCAuQrEAJMS6vQ+5xCev4vwDQFpU5X27NBW3NR EHrK1SicZQtzTxQCnfQLQ8BJPG83mUAfIml29qGSVYtedC9MA2G7Lg7upcvKDaO8uINs bvlg3PEc+iFxMvlP8NA54W41dXC5dTr0vjPXg5Fawest58K9oAKKBiQLIhZA2EFKoOY+ d7mX79Dk+PmkYw5Ugza6oTDZrgvtDFHZQs2enW8LNZ+NKcO7kmhv7EsQsrLOvO7l7MoN 0KBhApVLHaEIi4HCDT/NBpSPT5WDQvQDuaj5lHZcBDTNKR8Z2eWtflR+zucwQJreESFv cUaw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=omRzlOpKABUbZoIFWBOWZAHJwXr5O5qBQ/hIKYF+bK8=; b=oJwGU1IYYPCI/Ddr69JRFOhsmvUfI2u2FqubtFvu7le/Cu9IewNJGHK1YgGS/npf5A oBcHnewhjwvTFSlQjmqlGv8Wk2qPHsEAR91o9vVF5pt6OCXb/1uoW9ojkH7as9lHtnIP jC8ZU46DcyNhLsUQBouyfiHpZHH0qbK6mCJ+Dq2sqyGDCPgZL9BGQQyiwSPQ0nSmG0Fg K3ejP2rD0KzkkMumiiI9Gu1QBbvplvf52Wt6zUDkLiMPgMXENmdX7rclB0gvD8mpgBAX XQRjLDzqk3IYofwihLF6EdTJRob71aHl9dEmm1PeLB9I9APaJuh9d47JLECqs25S/m4P e8vw== X-Gm-Message-State: ALQs6tAHu1bc7dojYCVuAIIKhOnq38+nSHV3FqEQAkoG9nMtPHam4NYr r8lARrN+E4c84Sph4NcZkfpth5YQWuXxIIP5dTWBVQ== X-Received: by 2002:a6b:1604:: with SMTP id 4-v6mr34161380iow.147.1525635221439; Sun, 06 May 2018 12:33:41 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a02:7109:0:0:0:0:0 with HTTP; Sun, 6 May 2018 12:33:21 -0700 (PDT) In-Reply-To: References: From: Matt Turner Date: Sun, 6 May 2018 12:33:21 -0700 Message-ID: Subject: Re: [PATCH v3 1/3] alpha: Use OPTIMIZE_INLINING instead of asm/compiler.h To: James Hogan Cc: linux-mips@linux-mips.org, Arnd Bergmann , Richard Henderson , Ivan Kokshaysky , linux-alpha , linux-arch@vger.kernel.org, LKML Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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=5823709, After=5823625, 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 Looks fine to me. Acked-by: Matt Turner Should I take it through the alpha tree?