Received: by 2002:ab2:710b:0:b0:1ef:a325:1205 with SMTP id z11csp527009lql; Mon, 11 Mar 2024 09:28:56 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXDDaTwXgfDndFMr2iN3XcL7Day/d7zhKmJeRHRVAGlbPLZqNgCQafmWW2SZcJIBObpjkXxVEobRx7w4d8XwLEhD1Ic97035viYoEqoxQ== X-Google-Smtp-Source: AGHT+IEXKf9jYEr/Sw8obaBEB2wuq8z0ZQ/J8dnStXF7MgoFzoq/04+3vs6ywM3mh+o/008dTUTj X-Received: by 2002:a17:906:4a89:b0:a46:2b4d:e3f8 with SMTP id x9-20020a1709064a8900b00a462b4de3f8mr1591719eju.19.1710174536463; Mon, 11 Mar 2024 09:28:56 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710174536; cv=pass; d=google.com; s=arc-20160816; b=VznWnhS6HsGjX6di6PM4bdH3QSq3mFUCz1XvzwxSMUyOKdZl0+Ib15eabGCn8GMigk ZvqPi1rjISfmM5ePrbqdYvUHQDF1Xxwm/yqXSBTTszv4k/DcCv1X8bPsGef09CGNNqbh lLRNmkZFLI5QMHr5s4rBnmWNaxcJROD1aH+/JXZGKhQehjEPsxu3pS4B1DXA/e+i1zIZ L1lcdtjFvuR18Wu0UlGPGzLvOkSxEy6YNSu+HG2o6T/gFMadhILeQuXzgLIRXefNYJjL xzvYCNbX9c8DukBnIownRzuRrjB4N/v1LMLEEbVHQmuDuNBJv1hwlYBIo3GONqfXedtX XHSg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:dkim-signature; bh=Aj2DDU2R3CP9L+cvs3h77l1rCBccotGIwcymgcAqh4U=; fh=QlaB10TQ0mLFwoVRpHTXl8hKaA5r3xZoFH8scYGQGIM=; b=vjzX5Lt+x/wHTfmqOi3X3TA9xkBRHGZeajCXVD8tx6miSXHcri/wciVzIhO8IcY5Uh Ob76nqES9yKsF2mMdssfmKfk/XhZ9zOSe90jMMwHfMfSjylnxVaDOotY818LDpKrmJ7D EE9JF3M2NcDKktRNBA/4ew3wAyOs6cRslVZQRPWmQMawZeWN3mSdS4lH1Ke2r8CigU/v OmDxaFqRGE9XGUlhnF2EqW+3+TvES0gT2IZElD55qYHgXsewZfSUlonjFpx1A1L3TJJE NFfUivMiciDVQ16lYcPBzHNk09pM/24cvPMlPmj+rMwCbiMezO9emQtPNwlgLbF5t68Q CB5g==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=1tbydqMK; arc=pass (i=1 spf=pass spfdomain=google.com dkim=pass dkdomain=google.com dmarc=pass fromdomain=google.com); spf=pass (google.com: domain of linux-kernel+bounces-99232-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-99232-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id y22-20020a17090668d600b00a45fdb86380si2653755ejr.470.2024.03.11.09.28.56 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 Mar 2024 09:28:56 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-99232-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=1tbydqMK; arc=pass (i=1 spf=pass spfdomain=google.com dkim=pass dkdomain=google.com dmarc=pass fromdomain=google.com); spf=pass (google.com: domain of linux-kernel+bounces-99232-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-99232-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 26E671F24317 for ; Mon, 11 Mar 2024 16:28:13 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id BBCB756B87; Mon, 11 Mar 2024 16:21:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="1tbydqMK" Received: from mail-lf1-f45.google.com (mail-lf1-f45.google.com [209.85.167.45]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A86C456B77 for ; Mon, 11 Mar 2024 16:21:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.45 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710174085; cv=none; b=c7FS+XqbEoi7FvcsFpKb8xomYRzTFD47q24we7qHaLJXpI7e5IXV5ZPo/50xiPuj/6CmD2Ao+zr/nukfnUxJDo2mOlMtvVQKLtY0U0Bu9CPDOlc+rde+M25YWRC2eq9KmU0mVJM40TORCUlo1rcPwHcWoUwrBMuxLL38QfEmY/I= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710174085; c=relaxed/simple; bh=Aj2DDU2R3CP9L+cvs3h77l1rCBccotGIwcymgcAqh4U=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=fYHZkqbYqxZBfNrd57qrkTOGNqdIMPWkAbafLJNTPFUQGddH8RImQB7SRobCIkvpRcabJKePamTk+f5HB21XXoWBs5Vg7Ci9b+gpn77+RzpLN5WOlNppACKuvrr/a0fi1DiJ9dn54JNOoOkklQVA1Rtl+FmFoXWa4p1haDHckOI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com; spf=pass smtp.mailfrom=google.com; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b=1tbydqMK; arc=none smtp.client-ip=209.85.167.45 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=google.com Received: by mail-lf1-f45.google.com with SMTP id 2adb3069b0e04-513173e8191so4428667e87.1 for ; Mon, 11 Mar 2024 09:21:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1710174082; x=1710778882; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=Aj2DDU2R3CP9L+cvs3h77l1rCBccotGIwcymgcAqh4U=; b=1tbydqMK5d47mP/AaFRs9nz1D/0UrgShdiSVhxxPlu+qsgZaWxGTY2sz/C6Jhx9iEU huW8lbcM6IYIKN7X2pOKKaoWLojo7y3yyoEZfJSJYOulvBnuwavrcrztBTYy9avGuRH9 UUSQ0PFIyxzBRVD8SY61mjoMmOMNOB66kUqUG/Giq2ASBuGDqtnwzdO5eXx0c2PH7Tr3 7Px6Q5TjM+jTz2Ab5aw/sBaBGC6mbnqD5MvjunYczQ5xqj9oEgISprLXQIHDeKFUc7SK NDiQkxAnaF8t5H/n7OuXbz8K1BEaXXru6a45u+MACSs8PlfdAgSBMi0CoWzuREmu6jvg d//Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1710174082; x=1710778882; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Aj2DDU2R3CP9L+cvs3h77l1rCBccotGIwcymgcAqh4U=; b=JKIMfVADTTgdCyjLdidn6O5dQBRID3PSdNs+7R+yWXvKVPos+a2JKD7u3oDZfXqXPM WKAavdiC9NFzYXEM8hr+OTryOAnVf7U4atlWnLmfPo4hxJjumso7N8j/fdWJUyHF1RYR HJeea7pu/9HUvy8UuyBRKFu5E7PYy1FVRJVWRGfzXP7FtXe9rD6Xkg6IhmdvPH2a5YD2 iEypondBbBD+xDgxihJ5bMO+WjgyrPBVz8zWim6E3Yz50Gb9/FRbREb8eKeD7I5tLw4q uboqdyxGqqNd3rnc2IpuI0X0b4wpxDxHQr++oMrQHEUTdzuiunyka9HohPJwMMlsn5J6 O5KQ== X-Forwarded-Encrypted: i=1; AJvYcCVfKAVY/5DJMQxsuOHfA54EjYP6HD95+PCGYC44V3ksUgXADClytZief3sUH7g/yHcU8x7cVl1OW0PQzCDOFX5pvtjwYuKNu+asr7lC X-Gm-Message-State: AOJu0YyKIr+zp3WHohYhnitHEkF2Lf2Y+iyofta6BwimMYdwasPGy+Sc M1ll7H+rWTgFb0K/dPZ3fIqi3kc3n+9yKxtWkEDSTNiYUdYNI6VHZQ7cGlXU1GTklrTQLIzU+V4 aaHnOwLefyvbWdWllM4XHPzusEFdGQ+QtqWFv X-Received: by 2002:a05:6512:3996:b0:513:4afa:a719 with SMTP id j22-20020a056512399600b005134afaa719mr6647016lfu.59.1710174081606; Mon, 11 Mar 2024 09:21:21 -0700 (PDT) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240310020509.647319-1-irogers@google.com> <20240310020509.647319-14-irogers@google.com> <20240311114009-mutt-send-email-mst@kernel.org> In-Reply-To: <20240311114009-mutt-send-email-mst@kernel.org> From: Nick Desaulniers Date: Mon, 11 Mar 2024 09:21:06 -0700 Message-ID: Subject: Re: [PATCH v1 13/13] tools headers: Rename noinline to __noinline To: "Michael S. Tsirkin" Cc: Ian Rogers , Arnd Bergmann , Andrii Nakryiko , Alexei Starovoitov , Daniel Borkmann , Martin KaFai Lau , Song Liu , Yonghong Song , John Fastabend , KP Singh , Stanislav Fomichev , Hao Luo , Jiri Olsa , Peter Zijlstra , Ingo Molnar , Arnaldo Carvalho de Melo , Namhyung Kim , Mark Rutland , Alexander Shishkin , Adrian Hunter , Paolo Bonzini , Shuah Khan , Kees Cook , "Gustavo A. R. Silva" , Nathan Chancellor , Bill Wendling , Justin Stitt , Andrew Morton , Liam Howlett , Miguel Ojeda , Will Deacon , Mark Brown , David Laight , Shunsuke Mie , Yafang Shao , Kui-Feng Lee , James Clark , Nick Forrington , Leo Yan , German Gomez , Rob Herring , John Garry , Sean Christopherson , Anup Patel , Fuad Tabba , Andrew Jones , Chao Peng , Haibo Xu , Peter Xu , Vishal Annapurve , linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org, bpf@vger.kernel.org, linux-perf-users@vger.kernel.org, kvm@vger.kernel.org, linux-kselftest@vger.kernel.org, linux-hardening@vger.kernel.org, llvm@lists.linux.dev, Christopher Di Bella Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Mon, Mar 11, 2024 at 8:44=E2=80=AFAM Michael S. Tsirkin = wrote: > > On Sat, Mar 09, 2024 at 06:05:08PM -0800, Ian Rogers wrote: > > An issue was reported with clang and llvm libc where the noinline > > attribute [1] was being expanded due to the #define in > > linux/compiler.h (now in compiler_attributes.h). The expansion caused > > the __attribute__ to appear twice and break the build. To avoid this > > conflict, rename noinline to __noinline which is more consistent with > > other compiler attributes. > > > > [1] https://clang.llvm.org/docs/AttributeReference.html#noinline > > Following this link, I don't see __noinline there - only __noinline__ and > noinline. What's up? __noinline (which is what this patch is changing the preprocessor define to) will not be expanded in the presence of __attribute__((__noinline__)), __attribute__((noinline)), or [[gnu::inline]], unlike the previous macro definition. --=20 Thanks, ~Nick Desaulniers