Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp1819868iog; Thu, 16 Jun 2022 14:45:11 -0700 (PDT) X-Google-Smtp-Source: AGRyM1v09eXzt0dncz7klqj77tPE36bd9xj3EczWL4Qh9ZjUj1JFkHavqwT71vhNsdiNRV4nMMp3 X-Received: by 2002:a17:90b:3b4c:b0:1e8:5e53:2796 with SMTP id ot12-20020a17090b3b4c00b001e85e532796mr6962793pjb.184.1655415911355; Thu, 16 Jun 2022 14:45:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655415911; cv=none; d=google.com; s=arc-20160816; b=Tzjuhdvl754JYtt2Y7ZUc1XxZ35JkqRSpXZo1pIU+8YoH2CqKhVFtdbGk+Myd/FuXW nkw2wdskr0MWmW06JW6AS32e8kXxbMRL1RYFBXazvrAkVeJBET9owNY8A6jhKDlgCHgv +CUWBqCI7WA0FyBoDsQZQ9ifsBMAbVLgHhaskQpW+TzIS/uBcIgG9YStN4x5MG96K1F7 7M6DUOiWRMswzEcoe6iIJC9T9GuxhojkosZ4SvubXVs8FBftIG2mJe/1z32PrBVZFitw d16ADPNS/XXHv5SWex8OjFmtrAHjxVBwPi3xKsbIYCSfctvdW2cjXWzlaLeWklNBLJ2Q veug== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=MDMBC2uTyxc9TPqLmLiHDJqJa928rge4eTwck2J/9uM=; b=FCDrLX0J6RJv+p6g3EUww17XHpoTA8PM2mwPXl1U1fcTh892wrFymkdq7b21tbu8LC 1XHKDAcjblgl76S8X+2hHW4vz+JluMpaLioQzylZoWYbOWXJ10NyWJmkvohgKGxudao0 fxPNXnfGRqTjR1hsFi+X194ls601onMo57hqm5YCy9N2h0vQfEUI7Tq75WYrSpSAcOvW pE5/oLpyJPkHn1XoXprEet0KN3S37z/4wxytPGO8x0d0P5xjlCy6HQD1a8rWZuLxX79G WiLpbc49vtw55dL9AwNE0AKSNxSILkqWe0CUjLcMl8VSjLum3C2Kn6ko4TJyJwwGvUuH O3SA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20210112 header.b=lc9M109a; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id v26-20020a62a51a000000b0051c2624807csi3452663pfm.67.2022.06.16.14.44.54; Thu, 16 Jun 2022 14:45:11 -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=@google.com header.s=20210112 header.b=lc9M109a; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1379006AbiFPVHw (ORCPT + 99 others); Thu, 16 Jun 2022 17:07:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56108 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1379143AbiFPVHl (ORCPT ); Thu, 16 Jun 2022 17:07:41 -0400 Received: from mail-wm1-x329.google.com (mail-wm1-x329.google.com [IPv6:2a00:1450:4864:20::329]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4F6E4DED7 for ; Thu, 16 Jun 2022 14:07:35 -0700 (PDT) Received: by mail-wm1-x329.google.com with SMTP id n185so1369022wmn.4 for ; Thu, 16 Jun 2022 14:07:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=MDMBC2uTyxc9TPqLmLiHDJqJa928rge4eTwck2J/9uM=; b=lc9M109acw0E9Tk/CWR0AyJ+g+BS+b0Reuq7NJOGkRAHgfyUWBum8lGu6eiXjZLQzv R/9FTuA9ep0kBGKZ2Uvg3Nhb17QU2fa7daR7UViBL+D2I1krHJdBFoSw++hnQnNrvrsh LtbXyZ4gWU6RlAs6Gx4p+nvma7XjI2RSEN9JTEdF8AnOBj5Eiy2LlK8ZPyiXoejvWdCo vNVfDZkrzydF9qOVKMdx8JNAn71QrUWVNvuySZHoPxVx/ATKQS8jviHZbC66k9SiavRp Xh4Y3edBuxSjYxqmjPYD37+WQf8rNDloVGzYoXsxyO857iUD28Uhg+NNP0zfA3LW+3zE 8ShQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=MDMBC2uTyxc9TPqLmLiHDJqJa928rge4eTwck2J/9uM=; b=2g/o7CI9D2UoDV/E5MDcjHyXfOcfqCvalos5jzugLOHHhh/Zs44sfjI0SaUHDCiQbe srD6XbOpKvbS7hbE/4q3B50It+PhUbwtuLVY+4ix8Nr/2bTpKp2Rrujw62jFG/x+FtpZ Z4q9Uy7+kESx0S0g4Q0SSGB9pB1jsJu2mzEwbAPuD8ClSrVNuasZZnOnu2jwHHJGrXcw vP/C9HE5KfqzX6z22hCZshRed7+mtyq5E7sSUdS0FUHwOUYfjvmzLaHbodcZ/4to56as 8a3yGcTsvpIAkq8oRr1ODpLXycRgkJ6azE/OkWG3uumlc8S09Eyr62L7CFtWYFrqJuSg 0Bxw== X-Gm-Message-State: AOAM531hX/Y4d8G1KRfrWGmpGKHLhHytSXXTHiFC0w7VqdPEQNog59VV ZojSDZSoO6Vfcp/Hq94hqF8sTGNhVEWCGbs4CPW6EQ== X-Received: by 2002:a7b:c7da:0:b0:39c:5b34:3019 with SMTP id z26-20020a7bc7da000000b0039c5b343019mr17371381wmk.115.1655413653567; Thu, 16 Jun 2022 14:07:33 -0700 (PDT) MIME-Version: 1.0 References: <20220603055156.2830463-1-irogers@google.com> <165428101333.23591.13242354654538988127.git-patchwork-notify@kernel.org> In-Reply-To: From: Ian Rogers Date: Thu, 16 Jun 2022 14:07:21 -0700 Message-ID: Subject: Re: [PATCH v2] libbpf: Fix is_pow_of_2 To: Andrii Nakryiko Cc: Andrii Nakryiko , Alexei Starovoitov , bpf , Daniel Borkmann , Martin Lau , Song Liu , Networking , Yonghong Song , john fastabend , KP Singh , Yuze Chi , open list Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-17.6 required=5.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, ENV_AND_HDR_SPF_MATCH,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE,USER_IN_DEF_DKIM_WL,USER_IN_DEF_SPF_WL autolearn=unavailable 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 Thu, Jun 16, 2022 at 2:00 PM Andrii Nakryiko wrote: > > On Tue, Jun 14, 2022 at 1:41 PM Ian Rogers wrote: > > > > On Fri, Jun 3, 2022 at 11:30 AM wrote: > > > > > > Hello: > > > > > > This patch was applied to bpf/bpf-next.git (master) > > > by Andrii Nakryiko : > > > > > > On Thu, 2 Jun 2022 22:51:56 -0700 you wrote: > > > > From: Yuze Chi > > > > > > > > Move the correct definition from linker.c into libbpf_internal.h. > > > > > > > > Reported-by: Yuze Chi > > > > Signed-off-by: Yuze Chi > > > > Signed-off-by: Ian Rogers > > > > > > > > [...] > > > > > > Here is the summary with links: > > > - [v2] libbpf: Fix is_pow_of_2 > > > https://git.kernel.org/bpf/bpf-next/c/f913ad6559e3 > > > > > > You are awesome, thank you! > > > > Will this patch get added to 5.19? > > https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/tools/lib/bpf/libbpf.c#n4948 > > > > I've applied it to bpf-next, so as it stands right now - no. Do you > need this for perf? Nope. We carry it as a patch against 5.19 in Google and was surprised to see I didn't need to drop the patch. Our internal code had encountered the bug, hence needing the fix. I'd expect others could encounter it, but I'm unaware of an issue with it and perf. Thanks, Ian > > Thanks, > > Ian > > > > > -- > > > Deet-doot-dot, I am a bot. > > > https://korg.docs.kernel.org/patchwork/pwbot.html > > > > > >