From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id A87ECC4167B for ; Sun, 10 Dec 2023 05:40:27 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231503AbjLJFkT (ORCPT ); Sun, 10 Dec 2023 00:40:19 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50290 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229481AbjLJFkR (ORCPT ); Sun, 10 Dec 2023 00:40:17 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 86351115 for ; Sat, 9 Dec 2023 21:40:24 -0800 (PST) Received: by smtp.kernel.org (Postfix) with ESMTPS id 1C531C433C9; Sun, 10 Dec 2023 05:40:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1702186824; bh=82iyjccXJBcgt+8Iw+jKZiF0i9Eza3Vs0vbLrY4Q8kU=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=hEN7bs9U9JewGJpQnZD2EGeB8QRqBvEe2QpFCXosMswh8wPcmly7V08iV9xIdrIYf 5eDU2xbKeYJT+W2ggl9CtEbH2A7TRkZQwwhzHAMpBl1vdncKLbmlNtfvzfOb6RTDTJ uqpGJe4xsZToD7NUreQv6KN19gT/frKvNympqnILYqsl69C2fY5Rj0dXrZ8h1bHmU0 9KHWaRizQbq/rpnOJ4zjBiKK85E+oJF69Lnt7FIy2qVNyxUCZbmR0tZc07d3Qc90/f RH5kYq1iyUKIdgnA3woHmlS3R/ZL1fSsk0haVnNLE6+J1aVqG6wumw5NFzpO88lDfd qL0lqPQ5y3uTw== Received: from aws-us-west-2-korg-oddjob-1.ci.codeaurora.org (localhost.localdomain [127.0.0.1]) by aws-us-west-2-korg-oddjob-1.ci.codeaurora.org (Postfix) with ESMTP id 02C9FC595CE; Sun, 10 Dec 2023 05:40:24 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH bpf-next 0/2] Add new bpf_cpumask_weight() kfunc From: patchwork-bot+netdevbpf@kernel.org Message-Id: <170218682400.18582.4497349299416423669.git-patchwork-notify@kernel.org> Date: Sun, 10 Dec 2023 05:40:24 +0000 References: <20231207210843.168466-1-void@manifault.com> In-Reply-To: <20231207210843.168466-1-void@manifault.com> To: David Vernet Cc: bpf@vger.kernel.org, ast@kernel.org, daniel@iogearbox.net, andrii@kernel.org, martin.lau@linux.dev, song@kernel.org, yonghong.song@linux.dev, john.fastabend@gmail.com, kpsingh@kernel.org, sdf@google.com, haoluo@google.com, jolsa@kernel.org, linux-kernel@vger.kernel.org, kernel-team@meta.com Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello: This series was applied to bpf/bpf-next.git (master) by Alexei Starovoitov : On Thu, 7 Dec 2023 15:08:41 -0600 you wrote: > It can be useful to query how many bits are set in a cpumask. For > example, if you want to perform special logic for the last remaining > core that's set in a mask. This logic is already exposed through the > main kernel's cpumask header as cpumask_weight(), so it would be useful > to add a new bpf_cpumask_weight() kfunc which wraps it and does the > same. > > [...] Here is the summary with links: - [bpf-next,1/2] bpf: Add bpf_cpumask_weight() kfunc https://git.kernel.org/bpf/bpf-next/c/a6de18f310a5 - [bpf-next,2/2] selftests/bpf: Add test for bpf_cpumask_weight() kfunc https://git.kernel.org/bpf/bpf-next/c/88f6047191e6 You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html