Received: by 2002:a05:6359:6284:b0:131:369:b2a3 with SMTP id se4csp823916rwb; Sat, 5 Aug 2023 01:36:26 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFxaxqZkie1OW9IEzRf+kAf7miXT1mfqBcrXnYCgtEkrSsv43GLdGVJPm5yp9BRqZPAq890 X-Received: by 2002:a05:6512:308c:b0:4f8:46e9:9f19 with SMTP id z12-20020a056512308c00b004f846e99f19mr3005737lfd.1.1691224585924; Sat, 05 Aug 2023 01:36:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691224585; cv=none; d=google.com; s=arc-20160816; b=TWZiAcEcrdTqR/UzvT7Z6jOT0MGWP9cqvXI6/Rcl8LUHro/OIv7HsCoQjAPFyyiKuv g0Rmxo6dGKWvoBTa4nd8pHh3NgsCKvLvGaOYBv2MZ0o+a8jFRXL9bkIHADb1Jn/41hZC xDf52zSra2bQLvReOIGdflVcas9b08q1SlH+VRaOSvxPCZ2OOQqd2UsuM/x2toGMba/+ wRAIXvKHuAko9Ujlf0jH5EPYo4/Ke0ZQTT3mKzcsYV1Mm1U0s+2ViexBrXD2AO1zqrT9 Gc5JuUxKOZAeE1IAGb6OX/kMa1FQDVqZnO2vLlPOakVQxmTuMil6GBVP+CIL4zxGwFRB 38eg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=izJldXkK49lbGL0XLPukfeIEvUvsLq+UDkHmXV6tSds=; fh=ddBG0PQlFbsXocASPzii1IUg+ZNxr1a5intutk/ig+E=; b=YPlmEHzhOZQKPpplSmsko7/acq3NWiP57XK94qYBAm7eV6c5foIT4IIlu+BKdPMW6D q39MBKMAYGuZnCOSaZIeCu6M0QWPjjlz/MWO9LC1R7LA1CQAUOjePTSzpFb6ZkuG8ONb 1fXPRl5Vw3o1PdLa2PLTQJZhC3jLrsX396/XR+1k2vDELqDA7oGV+s7UgjKd1hjWfvTC CJgZs/XDL5q5XmQdPZV1JxoIWOou5V/LLGrgYmoW2WO3rAVYc//GkUv0PiA/bSKoZzcK A2X3DH5AEh4HF3AAt0y4uo515T/NWwg1SmYOmh4m0eZoowk7IIRR2QhoyGRaCj1NoyRG GEiw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=A707mbbr; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l27-20020a056402345b00b005222a0cd29dsi2804795edc.339.2023.08.05.01.36.00; Sat, 05 Aug 2023 01:36:25 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=A707mbbr; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 S229728AbjHEGf7 (ORCPT + 99 others); Sat, 5 Aug 2023 02:35:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36826 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229450AbjHEGfz (ORCPT ); Sat, 5 Aug 2023 02:35:55 -0400 Received: from mail-yw1-x112b.google.com (mail-yw1-x112b.google.com [IPv6:2607:f8b0:4864:20::112b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2A89F1BE; Fri, 4 Aug 2023 23:35:55 -0700 (PDT) Received: by mail-yw1-x112b.google.com with SMTP id 00721157ae682-583b3939521so32733557b3.0; Fri, 04 Aug 2023 23:35:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1691217354; x=1691822154; 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=izJldXkK49lbGL0XLPukfeIEvUvsLq+UDkHmXV6tSds=; b=A707mbbrKfoL1HkqQ9fJGcWngC04eUzbvLyMt49WGL8RFVv8VVbIZrDybCgkWbyF3Z vBWBrqUXwI/5LR1HQvVi4keHlv535aZBqE4e/Dh3PSZ8liVnM3jGsUxBJya6dEnt46pm kUKIDrb+hlSRduhrPrL8dHw4HqoWOQcCe2gbXLoiQhroTv7kn9YzXEgY9nHwVBseDeXT PVUJUU4wde1bkvk6TsY0r3Hnjqwwhbtkd1uUhjdwnS8DvcTDcQPuTWvM2CAxHW/AJGV4 UwlCEAtthV3zhWmSjt8Z4wfFxaTBk9UynuGfZjMU9XrEaUsC2gwLOOSdl24JTRFx4l3y ZMXQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691217354; x=1691822154; 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=izJldXkK49lbGL0XLPukfeIEvUvsLq+UDkHmXV6tSds=; b=TtntCX+eoihEOto2szE1SocVXsVnwCNo2z5ICd8QVtXv9Q5TUCpbhRnj0a/9dcnpjs vgPCv122J+nrW6q9OsZuopTKt2F6oyfTeoAd22/LsX/QDo2PeFkEpOI893OlyNIUy/Dx 6DgZ6yw63pfxrNdYf9PQpYZvjB85T9jwbDlm+9LCdamImSHdF5RWBKopq0Bgg4rAxFJf FcF/5uEUjlS0GGuKi3spXzABV5lTe8WyCszXExMRZI4HxKxSIjfTGgBaLrGkJ+/hys1d Mo1GzjPZuF4ZrzL8Y4DhDBKNdEjGxRg4ESmsZw3juSyDXQ6mYDs6C7TFPK1PsSnkvytV Lzig== X-Gm-Message-State: AOJu0Ywc2H/Tc5FECEZOJ3VFFuG7HTf4U9eEjpLgufPm16T/mfRk/ejg 1ogMIQ2mV0ziAn6M3/MMfqyDldqgQqOjbeRQjv5QWc9zqbg= X-Received: by 2002:a81:73c1:0:b0:584:3140:fcae with SMTP id o184-20020a8173c1000000b005843140fcaemr4139723ywc.26.1691217354314; Fri, 04 Aug 2023 23:35:54 -0700 (PDT) MIME-Version: 1.0 References: <20230804090621.400-1-elver@google.com> In-Reply-To: <20230804090621.400-1-elver@google.com> From: Miguel Ojeda Date: Sat, 5 Aug 2023 08:35:43 +0200 Message-ID: Subject: Re: [PATCH v2 1/3] compiler_types: Introduce the Clang __preserve_most function attribute To: Marco Elver Cc: Andrew Morton , Kees Cook , Guenter Roeck , Peter Zijlstra , Mark Rutland , Steven Rostedt , Marc Zyngier , Oliver Upton , James Morse , Suzuki K Poulose , Zenghui Yu , Catalin Marinas , Will Deacon , Nathan Chancellor , Nick Desaulniers , Tom Rix , Miguel Ojeda , linux-arm-kernel@lists.infradead.org, kvmarm@lists.linux.dev, linux-kernel@vger.kernel.org, llvm@lists.linux.dev, Dmitry Vyukov , Alexander Potapenko , kasan-dev@googlegroups.com, linux-toolchains@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Aug 4, 2023 at 11:06=E2=80=AFAM Marco Elver wrot= e: > > will imply notrace. It is recommended to restrict use of the attribute > to functions that should or already disable tracing. Should the last sentence here be added into the code comment? Apart from that this looks fine from a `compiler_attributes.h` perspective (even if we are not there anymore): Reviewed-by: Miguel Ojeda Cheers, Miguel