Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp107711ybp; Thu, 3 Oct 2019 10:52:45 -0700 (PDT) X-Google-Smtp-Source: APXvYqyyX38qcYp7mYH+HjpdblVhTy/Q0NBZPplOtLLSAlPJGpI5ggLZRHsI6Nn4+7wCh/RCqNVN X-Received: by 2002:a50:fd01:: with SMTP id i1mr10708815eds.184.1570125165456; Thu, 03 Oct 2019 10:52:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570125165; cv=none; d=google.com; s=arc-20160816; b=WLfvBLUi55vMUGBmkWBaub26pp5pAnTSVZvfDXcmVLS42+b/kiRdZ0LwjsHq4yZ9tN myk40mFuKUKNQfGJJe37K/ThzZas+BPfhQ1abjmcJyhdmpDt9V6coXhWY6ubZfk6++Eu j8AwumHHuFf1dap4NPpKsNIGEsn7zBfUF3XFTCKEpePHM2BIDAxJYOpDb28i2v+QFX0J 7jYEAtDAs33+DDc6sgsNXtrWchNkPReD9rLnyskI3Fun+Oto60S1m4B8cCZ7Ji1xyScI /SK01jGUoJCPypB9UCz15Pi2XcQa9dKgG86cOUhYj7vbPV8AxYnmFJAW8MRQCWiWE97E rBug== 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 :in-reply-to:references:mime-version:dkim-signature; bh=8ZVEazC37+BdYsUUwYDYhErEg09v7WhRGEkqCbHO0ks=; b=FKRqG1IlOJVORWfE0bo7Zv0mEde9DBRAhmuEQD6dIrGkq+LtDynKyvPprhWlnW5smZ 1uU2SthY7e7iH7WeHUSJAKew3hu7/RjJH3cJQu0PFPHmoImZpvhOISurI/pjPqlSerAn DUedvVFfg06yMAcXpMD7dpmrVN/XqnVg2rM8rcmLAGzvCUwlSi0c5Kex9a5/YIwXh0wc iQ23hjZyolP03IZMjJVj1sLQPWpfqFDCJBI3LUCfMv/8wrIA14yfsnNvqZZXolg2y2V1 DH6HEeExWTsJnpXsXlYunBgm88HzYgyjRyEbIzL4E8/rES6/9LBCANgOhmkhUKSNxU39 koEw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b=RPXZgCae; 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 w11si2128319edi.442.2019.10.03.10.52.20; Thu, 03 Oct 2019 10:52: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=@linux-foundation.org header.s=google header.b=RPXZgCae; 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 S1730668AbfJCR3o (ORCPT + 99 others); Thu, 3 Oct 2019 13:29:44 -0400 Received: from mail-lf1-f67.google.com ([209.85.167.67]:33842 "EHLO mail-lf1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730558AbfJCR3n (ORCPT ); Thu, 3 Oct 2019 13:29:43 -0400 Received: by mail-lf1-f67.google.com with SMTP id r22so2488973lfm.1 for ; Thu, 03 Oct 2019 10:29:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux-foundation.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=8ZVEazC37+BdYsUUwYDYhErEg09v7WhRGEkqCbHO0ks=; b=RPXZgCaexY2Zm6d9kF62WZV2HjWT9s5h167SaV6Ngphi1rMoYR5sDMd7JP8nFxcvYF Eh4EV5kyIIxb7dH3ZX7onDXYIrgX6swFRJoYDqwN7BI9I/QqzG6azoIIoIa4evdilqxu 0mEQ0+Fig1AOcYuhpzqpY17x0W0NtiJ8K/bx0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=8ZVEazC37+BdYsUUwYDYhErEg09v7WhRGEkqCbHO0ks=; b=bOysl/DHEiH1u1jePUyIlB3kasliDO8RxlRBbMc80Pxn7eISduLzZ1PUsgaOZb8e7Y TznNMO7b1i+6hOFNvn2uED3QnZTRJjJwxxgveUUSn0dmEbBhzFRkL80uNkMDWZzH1ziK 7Ju5bqX3qmB7gMU9YL7k7sBFP8bPxGK7H2G3F0swsXdmX+aBCI9mioCo/LN5cCd7rTGr UU9S0/lv8Nk1rDcBiV+LR0bKrQurzyCgvqGcLJ4hKN6U7ArFEI/zEXgShelpKduEbABb mD7SSnw7AvJ2ZN0LB8oIYXj+M6uZjb2K5qolZVnpKfrDyz3vFrVexc6bBvcmEnlJpO5q Nc/Q== X-Gm-Message-State: APjAAAWH2K8P3BaWZVq+pvF9UB6Czj268SXfER2E2md4IgMaxtr2QOaX TJJ8agZVCqqZtmRWZSg1hNz5QBTFYis= X-Received: by 2002:ac2:4a8f:: with SMTP id l15mr6501282lfp.21.1570123780236; Thu, 03 Oct 2019 10:29:40 -0700 (PDT) Received: from mail-lj1-f176.google.com (mail-lj1-f176.google.com. [209.85.208.176]) by smtp.gmail.com with ESMTPSA id z20sm781495ljk.63.2019.10.03.10.29.38 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 03 Oct 2019 10:29:38 -0700 (PDT) Received: by mail-lj1-f176.google.com with SMTP id q64so3644617ljb.12 for ; Thu, 03 Oct 2019 10:29:38 -0700 (PDT) X-Received: by 2002:a2e:86d5:: with SMTP id n21mr6811909ljj.1.1570123777769; Thu, 03 Oct 2019 10:29:37 -0700 (PDT) MIME-Version: 1.0 References: <20190930112636.vx2qxo4hdysvxibl@willie-the-truck> <20190930121803.n34i63scet2ec7ll@willie-the-truck> <20191001092823.z4zhlbwvtwnlotwc@willie-the-truck> <20191001170142.x66orounxuln7zs3@willie-the-truck> <20191001175512.GK25745@shell.armlinux.org.uk> <20191001181438.GL25745@shell.armlinux.org.uk> In-Reply-To: From: Linus Torvalds Date: Thu, 3 Oct 2019 10:29:21 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH] compiler: enable CONFIG_OPTIMIZE_INLINING forcibly To: Masahiro Yamada Cc: Geert Uytterhoeven , Nick Desaulniers , Russell King - ARM Linux admin , Will Deacon , Nicolas Saenz Julienne , Andrew Morton , Ingo Molnar , Borislav Petkov , Miguel Ojeda , linux-arch , LKML , Catalin Marinas , Stefan Wahren , Kees Cook , Arnd Bergmann , clang-built-linux 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 Thu, Oct 3, 2019 at 10:24 AM Masahiro Yamada wrote: > > I just want to annotate __always_inline for the case > "2. code that if not inlined is somehow not correct." Oh, I support that entirely - if only for documentation. But I do *not* support the dismissal of the architecture maintainers concerns about "does it work?" and apparently known compiler bugs. > Again, not saying "use a macro". Other people did, though. And there seemed to be little balancing of the pain vs the gain. The gain really isn't that obvious. If the code shrinks by a couple of kB, is that good or bad? Maybe it is smaller, but is it _better_? Linus