Received: by 2002:ab2:7b86:0:b0:1f7:5705:b850 with SMTP id q6csp822375lqh; Sun, 5 May 2024 03:44:27 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXk53bwYNkxEe1tGS2N3KcMNK4PzZquChjU80gsQOjWTib34MvE4S1YbxVoknaB54Qc2sG4owlNl0GKv7WdYqGJggKMw0q+ulL7wAdwyQ== X-Google-Smtp-Source: AGHT+IHO2/Ki893Vx0CE4ouu6L0lHSvNkI6ThX0BqN5FJ+g+hMdbkDQ/HO3aat/WpSQdkZT3G2PE X-Received: by 2002:a17:903:2291:b0:1e5:a3b2:3dad with SMTP id b17-20020a170903229100b001e5a3b23dadmr9571700plh.42.1714905867048; Sun, 05 May 2024 03:44:27 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714905867; cv=pass; d=google.com; s=arc-20160816; b=qBhVqnFC3PbubNuYQ/E/pWi/VqsIG//vslnB+kTqDGAxIUxPH9iMapUbk1gfJN+/DN BnMmn5GVUn2YN6ssWbprRIHdgrYzfKTTLcqBe4vyIynAK9b1hgP+cgZws6fKeTamhJv1 q2oG8dC0UbDTGyiztUUGw3coWTGtJr5hUUNsVw0/c1FyjXnKHob5fOV7Cni/4Pi36qH0 RJCuuQAlBWwY6VzPiB4awuMd83n/s+SUwO62B8wvDAS14g8vzcWGLKMQRjzD7H8cSUER recfHTS+IpvtUzh0J2/uJQc6WtHJqo3X2jxgGmCLaGCWUjrD5RdhndnUpRPJbwwVzE5x hKIg== 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=KHEhv3zmaRfP0djX9DxadejSI7CWrAi5q8BogsN6Uzg=; fh=xPpFL2M8WqzJVw5xHtrUAc77r9y2DHgWJOrzJCk1g/s=; b=yRk2KSiJJL4efUF4Y+PYpfhAJyY/mt9pdkNbEK2BlN+5wOD7HnF6ZUY5bYo0jX60ZU 6Q8uB4/Sw50qsWgmNw0eIz897vpOWHrC6DSVp1KvPu8x7Cd4IkcUzheSBI4aejP9b3cQ u9m2RLPZ3N65oWPcfCsf7o4UfpkEcL7tEObpbhukmM/mh389woWjsQGBkp74iXOoKCFm aOM+eIAA1579g085sDOLoLkDPStyTLFC88yOcA18YMB2J7qDyJi0xtM+vfMCsCpSe9IB CbwJjirgtOpi1MfwK5jTtrbwh+QMriFqI7au7RieapvqrBmKs2X10NXKfa1N7KfA2up6 l7lw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=AQ49tr+D; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-168950-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-168950-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id j15-20020a170903024f00b001eb542b8590si6371867plh.596.2024.05.05.03.44.26 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 05 May 2024 03:44:27 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-168950-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=AQ49tr+D; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-168950-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-168950-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.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 sy.mirrors.kernel.org (Postfix) with ESMTPS id A362CB20EEC for ; Sun, 5 May 2024 10:44:23 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4C1EB125B2; Sun, 5 May 2024 10:44:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="AQ49tr+D" Received: from mail-pg1-f176.google.com (mail-pg1-f176.google.com [209.85.215.176]) (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 44C0B11182 for ; Sun, 5 May 2024 10:44:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.215.176 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714905856; cv=none; b=FA9sY0X0r429+cdgLFtHmOPl7zUh9oSqzvZsij5jKilRBs73LvqpWzmGv0TOINHZQRKoEq3K6hlICRjYOKczBxqyA7U8xnrS5AwDrbSOX1YcjxXidLQUCBcNg8M9DrdjMtsMWYJQG4c6ZhFkGSZC1pr9a96BDBIHft9Kp97RS+U= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714905856; c=relaxed/simple; bh=KHEhv3zmaRfP0djX9DxadejSI7CWrAi5q8BogsN6Uzg=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=HXhhc3Td+3lXGbFjkJQ9sWY2V+8ukioL7IHTHRzQ1nUM3WbPoJShlq7cqqxfljCe9giwtFy7pzk2ODl7epJRXGMFd9V9YR65MKdqJAARrFjggGc109oPyzT7e7eqfO/ENQOSaD7suDcP/UihjH+6aMPgNPx/5bYS3UcwV6Ck1F0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=AQ49tr+D; arc=none smtp.client-ip=209.85.215.176 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-pg1-f176.google.com with SMTP id 41be03b00d2f7-5bdbe2de25fso798621a12.3 for ; Sun, 05 May 2024 03:44:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1714905854; x=1715510654; 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=KHEhv3zmaRfP0djX9DxadejSI7CWrAi5q8BogsN6Uzg=; b=AQ49tr+Dckuz6Bg78RABuLyIWesNOLm2IKEFFy/Lfsa6eVKNnP9NQThh5Y2xvPSBEg WCpX3r4zzvR9vaNjSRRhpxgm1SE0hY6XtI8JOcsmfwV//KlQi0jK6qs6QQPHZ2fiUgNK +VWyz1i3Ae/1mCrxa62oAZfgWx0lqLInNTo5DOSmqLvc4lhtaVbiHEqRut2+u/3NsnkI qXnKYyQD9XLkEyUXeKm+vjSjhHvzC2axohkcdiw8MN9Dq6twVmyo44r36wYWmirN/D3X nOU15MeGeRjan15vqIoDItTXZi4dlOUMgGLKgJKT5rYzIHEJouxkr+tWA9rulzJxr69V wn3w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714905854; x=1715510654; 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=KHEhv3zmaRfP0djX9DxadejSI7CWrAi5q8BogsN6Uzg=; b=SmcZ/CAGuXVZTEBVwnRMb7Y/4goHFhMC/2IoKjd9957bhTyPOmIALjdWdCXOKg3Uv2 +snvmi5ZU07HWwzOtvIOJ5Ivflk0RyrLdzE3qGYcIpICOXB0UTy7CZ3StOzwGBA1rjBM ccQg+wUy1WtmmmsREIpJRD4rYUuRrf/0QHJ/2SFOrNmYBSJSdpChmhD6DUqAsElk/pWn onni7ZHl07BxxzF27FipgB1Sr4YoOtnYADTzHthkHDoinvG73cZdhztYQh5JXluwPriA br3VVwkaRkKKh8P12NPUdrd+HoIajAHa6tkKr4h+ma+IpuwT+iojDjH1ew3G4QE2fHWI g3lQ== X-Forwarded-Encrypted: i=1; AJvYcCUIPIGS31olCqur0TV2lUKp+x3BYC5B7YLsMNZIiSwicmCAqy8RYyFlanzQlmui1TMOY+YWHyvtbAUPONm97KTHEGs5PNTtGHv9pYlN X-Gm-Message-State: AOJu0Yzh7diQu4LLeQeYFu5NSof0e/HcgNnPK1/Rd622Td8kTyM+qqYC JZYC5uUqdgrsD84JXGbqmABqO2R2vzoM0AE9iLoOJqZ4OhStsSfFvVGXCqZm5tY+mlUHtE7+45L 1PcaAV26jACKeOVWHKEw/7TExf3M= X-Received: by 2002:a17:90a:51a5:b0:2b2:d375:3b7c with SMTP id u34-20020a17090a51a500b002b2d3753b7cmr6369408pjh.31.1714905854426; Sun, 05 May 2024 03:44:14 -0700 (PDT) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240502092443.6845-2-visitorckw@gmail.com> <202405030808.UsoMKFNP-lkp@intel.com> <20240503041701.GA3660305@thelio-3990X> <20240503155401.GA3960118@thelio-3990X> <20240503222338.GA1908482@thelio-3990X> In-Reply-To: <20240503222338.GA1908482@thelio-3990X> From: Miguel Ojeda Date: Sun, 5 May 2024 12:42:50 +0200 Message-ID: Subject: Re: [PATCH v5 1/2] lib/test_bitops: Add benchmark test for fns() To: Nathan Chancellor Cc: Yury Norov , Miguel Ojeda , Kuan-Wei Chiu , kernel test robot , llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev, Nick Desaulniers , Bill Wendling , Justin Stitt , linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Sat, May 4, 2024 at 12:23=E2=80=AFAM Nathan Chancellor wrote: > > Adding Miguel as compiler attributes maintainer to make him aware of the > change. I think it would be reasonable to have you take it through the > bitops tree with your ack so that the test patch can make use of this as > the fix for the robot's issue. Thanks Nathan! Acked-by: Miguel Ojeda The new macro sounds OK to me. Perhaps we should add some docs to the other two attributes about their relationship and/or the existence of this new `__always_used` one (so that it is easier to find). And if so, then perhaps the docs for `__always_used` can be simplified. > One gotcha that might be worth mentioning is that this combination only > works on functions and non-local variables (i.e., static or global). Yeah, since the `unused` one only applies to that, right? Cheers, Miguel