Received: by 2002:ac0:bc90:0:0:0:0:0 with SMTP id a16csp3081249img; Mon, 25 Mar 2019 03:26:45 -0700 (PDT) X-Google-Smtp-Source: APXvYqylhUhlSkJVVdFhhcJrOasFd4Ej0C79gwKDyQojZWpN70CFDcPbwMhJVyzDZjzgKBW40jit X-Received: by 2002:a65:47cb:: with SMTP id f11mr22595700pgs.18.1553509605082; Mon, 25 Mar 2019 03:26:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553509605; cv=none; d=google.com; s=arc-20160816; b=0X8c/nphpXvpPKPTRgdUj6auuEXG+N1fEeWjsRpK/721pFZSu712ot2+ZUXevIMepn A8fztb//SXysqr3vXFIpUjSVM0foLkfYsxd5HTSLSCuzG7j0PfnKytapx4aGj2EbQ5pl cn3p8wTe3akIVIhC8m1A3fZ4meOpuZfh64J8TieeWyJEsA/kVxaUG++L0IV3WCYoqEn9 VPhtQmvWvWkB+25j2UpH7s2hhu5qEBc0I+SzyDWHWKPtvpeP2xkb0fQwC8GFIga/6ncc 9KjvuvH9fN8mh6PDzRvt/HEI2dNC3GKEv407rsCDs78zwug6B+j+B3o59zGIx7jhneKa KPOA== 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; bh=uptj+eh0cd0E1jTQT2RebCWvCgUIjjYNwZDO+zjMQlo=; b=bsHX6mywL1uP6lQaoMgC4Zxt1+lHXD0Lv++YbUehsXJwffqr2rMjBbOsDfQUgCC8dD MDYP9Uwd10pB5Ebu9TsUXR5Vzr87c/lANqbNGxU+rSupuFOmuX1fgsspOawIgKprk23T UBfUaUNWkad+GDtIuXSCskkMrdqFCoZu0sELlNDUeQMHq9JfRWlGZZuKEBqmp+X2Ukas 0+5AcvGVD/gcPLabjCXnZujY72bQ8lLNZ4H63qWQShafvRFaKbZfz+mcd47b2GleHKQQ 0n7L8gBpqAJD3NK6UbcgnzlsGgnjQJ2BVYegKnk6xzryVp+NBHMbjycuWnZNLmbHEtpr VSww== 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 d3si14262439pla.399.2019.03.25.03.26.30; Mon, 25 Mar 2019 03:26: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; 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 S1730661AbfCYKZx (ORCPT + 99 others); Mon, 25 Mar 2019 06:25:53 -0400 Received: from mail-qt1-f195.google.com ([209.85.160.195]:45552 "EHLO mail-qt1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730491AbfCYKZw (ORCPT ); Mon, 25 Mar 2019 06:25:52 -0400 Received: by mail-qt1-f195.google.com with SMTP id v20so9505308qtv.12; Mon, 25 Mar 2019 03:25:52 -0700 (PDT) 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=uptj+eh0cd0E1jTQT2RebCWvCgUIjjYNwZDO+zjMQlo=; b=lUqOnEdOCoIcOKuT1HF4j/lsylMmEVt9nPiJFmiV1Y/7JRwPpD/l6qTbytC9TkmcLE BxWDgSMnpyIi3NsJ+G7VQTr26hppthKdT1NFaY//cet2wrGTAjF54YrMYbrYMVDMkZTI hZOo2Kuy9gYLzoAxFIIQx+cFGuYvqYDH+z/Tp1Oz6ZR3APcS8P3Cl4SHgQuETiXoiq5l ZHnBIz4cWofml2Ah1uC0+8anEi9VC0QfMR5p68ZHQomhGWMjLTtcVydjKj7mLbX1LZap 7zVTsC7PTgNp2kGZHRFXsHMMMdxkveZ9iU7GzvRIuRpY9Z6BfANaNFo2FiZ8DmF8HynT bOPg== X-Gm-Message-State: APjAAAXhYCm9kAo55Uf+i+sUPvZlbDQT8IfSnkhX9GS9UBgQBTP40kZz V9taWvfBJeUx1SraM3nPE9/2gOnnHeFCvIaQQo4= X-Received: by 2002:ac8:2692:: with SMTP id 18mr19682479qto.343.1553509551667; Mon, 25 Mar 2019 03:25:51 -0700 (PDT) MIME-Version: 1.0 References: <1553062828-27798-1-git-send-email-yamada.masahiro@socionext.com> In-Reply-To: From: Arnd Bergmann Date: Mon, 25 Mar 2019 11:25:33 +0100 Message-ID: Subject: Re: [PATCH] compiler: allow all arches to enable CONFIG_OPTIMIZE_INLINING To: Masahiro Yamada Cc: linux-arch , linux-s390 , Dave Hansen , Michael Ellerman , "the arch/x86 maintainers" , linux-mips@vger.kernel.org, Linux Kernel Mailing List , Paul Burton , Ingo Molnar , linux-mtd , Andrew Morton , linuxppc-dev , Linux ARM 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 Mon, Mar 25, 2019 at 8:55 AM Masahiro Yamada wrote: > > On Mon, Mar 25, 2019 at 4:33 PM Arnd Bergmann wrote: > > > > On Mon, Mar 25, 2019 at 7:11 AM Masahiro Yamada > > wrote: > > > I do not know why to reproduce it, > > > but is "__init __noreturn" more sensible than > > > "__always_inline" here? > > > > It's in a header file, so it has to be 'inline'. We could make it > > static inline __init __noreturn, > > Yes, I like 'static inline __init __noreturn' > > > but I don't see an advantage over > > __always_inline there. > > __always_inline takes away the compiler's freedom. > > I'd like to leave it up to the compiler where possible. Ok, fair enough. Arnd