Received: by 2002:a89:288:0:b0:1f7:eeee:6653 with SMTP id j8csp556832lqh; Tue, 7 May 2024 07:23:35 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCV1ufLXFSa+pclgREmuk+e6uRg8WhGBMumQygQ4KQL0pVaVLjgO2pXU3m0JVREoA42AmZPBI0fFqkRpTN0rfzgfvXxHqHxn7LVMNeK9aw== X-Google-Smtp-Source: AGHT+IE1IdlQkGa79wh10x0AHQmMsb1nAsTH2CDJ206hGOMPSGwGmyORAImqT+ETM6he3JQD4eJ0 X-Received: by 2002:a50:cddc:0:b0:572:6cd5:f8d with SMTP id h28-20020a50cddc000000b005726cd50f8dmr9415845edj.22.1715091814962; Tue, 07 May 2024 07:23:34 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715091814; cv=pass; d=google.com; s=arc-20160816; b=H40C+Bh+4dsS5FzkJcPx4BcXx37LBxf8JJv8COwv+KrBdu/kD2A8IUYEDhIagSFUC5 gke6N7L+C1qnPfgbAyyC/xGr//E8cSQoRzccFqpRi92GS4eCBpXF3Goeoo09XIOFK5Xv CW/AFyIt/d88ShZmcNiPQ4OAz+HB1QJ7ZZQ7FHc5/torPawT6r+CfE0VmqSeZ/JHuFgz TfTjZ4vHlKoY3/6Tg/MFkhxp+UGiNHs+gvdcz1naFhlf0rou0a/7aQN53mjdMa+hFajb XzyG43DdZvObRoOnQ/YVyVBwhIljxyleluDIUg5uERiBHbuXkF8si04anJgGHWh40nOU QRRg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :references:message-id:subject:cc:to:from:date:dkim-signature; bh=8MG3cKtYdd9m+1pTerNx3I3GOh9X3s61pF2ca5E3is0=; fh=A0dHmLX/a2n5+f+DvPAP7cuO1vIShwVSxX5lFAb+ESE=; b=rM3JkLTwM8PrTMolNSTjzxX3nIczrtXYv0Pwgvxdhqs6x5eJExQ3n7urihDyIZB3xp 90BfTd94CNT2OE/dtsMzvGpTxhB0lYEn6+4dahHr5yF/cF04LLNmQ+aT6xWnGiI5BGm9 5P9F5czwdKQsGil/D++WE5Q0mkl1uZFPifOXVJHKALRl4SvXur815ZnxHyGICRa6W+f2 OELZw956p4NCLqoxzHT/C7inyJdei+N4Ll/rUe8mmQcpkWFkLXP2imq11KwBXCxWuBlS EfHSqLSaO+fxxvCzZl7l97/eZqyNuF9XHoO9olbz9q8gU/H9RbMzC6UA72TdmoE+z+AI JJPw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=bLDRQR48; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-171560-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-171560-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id h15-20020a056402280f00b005729ec3f02esi6067154ede.301.2024.05.07.07.23.34 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 May 2024 07:23:34 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-171560-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=@kernel.org header.s=k20201202 header.b=bLDRQR48; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-171560-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-171560-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org 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 BD59E1F21805 for ; Tue, 7 May 2024 14:23:27 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2C2C91635BD; Tue, 7 May 2024 14:19:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="bLDRQR48" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4E6F715CD57; Tue, 7 May 2024 14:19:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715091592; cv=none; b=XPF6DdYkzIKV2ZMyzDapY82F+aBjeHeBYP06MgoMmvnu8ShfF8XejPrxS3aDb22QyIkMwyCyMi8FMTzs8+wyjpCfFmr3uCY1JVNyYLgubNEg8myi1jk+JpSHo0HIydXedV+RtZfwoMpJ5as/d/Xi+CECWmEjWjZrw4Vf+uhJ8lY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715091592; c=relaxed/simple; bh=I6GSM79zSh0XAY+vKPdvnFPU4/CJ/hs9rhFrjdIAG0Q=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=srExu3TSVPMJqIHVWNCWe5TkIRF0oGS3O8OP+oSEsD4pHBqKC/46muwMjwmaO6Y5ik+FRCucmvh3iYYGsutPKSWK/u0KlL8X55jxydz9l3KlxbsN/iGs3kBVm8SJAvHwmztVr8SBLDy7LMkxXPaBXTY7985QUPTAnAKyD2X8dsY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=bLDRQR48; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2E361C2BBFC; Tue, 7 May 2024 14:19:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1715091591; bh=I6GSM79zSh0XAY+vKPdvnFPU4/CJ/hs9rhFrjdIAG0Q=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=bLDRQR48XooapH0ZewKit48IGIh2VTlTDQaF0bDxl9bUUpbf86uaszRua07O8jHL0 aTaFFW24AqmPc1zr7XgXgqnx9ixM+wXZgsTcQ5BanYgjYlFVcWTEDdChdiC94sYHQR OfbSRmz8THMZvCtu5VKSggxfFxFI+z27g8ehJ7lwCZ4Gnr8Aagfv1mhO2Tq5ZHkj7D 5xs7Vmd72SMSD7HNQLYdP1W06TUIBgP4x7SOnbEFwQ8j0yKm8CUzyNDjPnQBK48GTb 89XDz4a3lsDixkI4866sO3x09XpCmVzjtpBjmJhXpAjOHclqx24aCg/V7x/eBHbv0W D59QZxReVJpJA== Date: Tue, 7 May 2024 07:19:49 -0700 From: Nathan Chancellor To: Yury Norov Cc: Miguel Ojeda , 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 Subject: Re: [PATCH v5 1/2] lib/test_bitops: Add benchmark test for fns() Message-ID: <20240507141949.GA2746430@thelio-3990X> References: <20240503041701.GA3660305@thelio-3990X> <20240503155401.GA3960118@thelio-3990X> <20240503222338.GA1908482@thelio-3990X> <20240506175209.GA1425562@thelio-3990X> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: On Mon, May 06, 2024 at 03:47:24PM -0700, Yury Norov wrote: > On Mon, May 06, 2024 at 08:08:41PM +0200, Miguel Ojeda wrote: > > On Mon, May 6, 2024 at 7:52 PM Nathan Chancellor wrote: > > > > > > No, unused can be used with local variables, used cannot. > > > > Yeah, sorry, I meant `used`, i.e. it is that one the one that > > constraints the combination rather than `unused`. > > > > >From a quick look at the links in `compiler_attributes.h`, `unused` > > can also be applied to types, while `used` cannot -- it is another > > difference, but your sentence above already implies it anyway. :) > > > > Thanks for the correction! > > I have applied the patch in bitmap-for-next this weekend. > > https://github.com/norov/linux/commit/eb21fc0c96b48d1e779a0ab16f9165a3e0cd76ad > > Can you guys please take a look at it wrt the last comments? I think > it's OK. But if not, I will resend it. Yeah, I think it looks reasonable. Cheers, Nathan