Received: by 2002:a05:6602:18e:0:0:0:0 with SMTP id m14csp1674928ioo; Sun, 22 May 2022 23:58:25 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy5b/0QHfIR9E0Hg2J6iZWdLDWkJz/xkSFeW+VnFcDN4eC5wQuOwdUs09JpTBQOH1aHOLJx X-Received: by 2002:a63:e516:0:b0:3fa:dc6:7ace with SMTP id r22-20020a63e516000000b003fa0dc67acemr7381726pgh.215.1653289105225; Sun, 22 May 2022 23:58:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1653289105; cv=none; d=google.com; s=arc-20160816; b=wCiAPGJkr5LxWaQHvAakOUrGpV9k+I1DpKBCXGCIdKofC9bzvcyL0H/WjiShRS95kw 13THtBfKfaRticuKPZvJ6saKDDVGA4ZoaUJyMXe82K1HjX95ZiIPd+dGLDJ7hJ/IYnbn BJbnODuXokqNklZeiUZFqd8fez0FcJqXESP2to+BUDuBsm9EMFShqk/RF2/+Y+XYSzQu 7G7vMQ+uvzasGsLX8eR7LVo+DOV4mxrlXu9tK/IUH06uN10gPW5OijTCbK/f0mLVIS9v Kx8K0X/JhjAGxPh0gGyUAK/ROrAq4yzfvBrffIoegLXtmDkErCvJTkvk6ouUIj3YKXWx UjZg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:date:message-id :from:subject:content-transfer-encoding:mime-version:dkim-signature; bh=+E/viy/Sb+YsBGD88+XYIIrulgTnR5fjcoKnD/+AvS8=; b=GdfCABE9ckDjL5Bk2SWxaiORZgMTb9ZiqnmDKoQz8+eeJeZshSQgO/zVzVHnTU/8R8 2GU8ZWfYequ6/GS85IiF3oPkRJILgNAqP7D40cnNK3w4PiI2eJgC6c/py05srFPGr4Rz 8KkpZmxDf00nCD5C/II4f12Cmh0Mpd7HsW3h1McjHDfbCGMES6Rr/i1LsTHGf3Yq40Rg gASvUiK7witormNPuEejx/mKf4op5EdFkcNyeFZ8lk9owcDJSL4A+3t16csWI4JFJNqh 9eP2+9bnPP9ko3XyyDzdp+OG80cuzTYQXbUPstHs6a+g5ol5W/i/awxXThuogKL7xTkZ B4IA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=TvP2S582; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id d5-20020a170903230500b0015ea8b56188si5000746plh.56.2022.05.22.23.58.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 22 May 2022 23:58:25 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=TvP2S582; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id A068D2AE0C; Sun, 22 May 2022 23:23:36 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1353838AbiETWKR (ORCPT + 99 others); Fri, 20 May 2022 18:10:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50264 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1353796AbiETWKQ (ORCPT ); Fri, 20 May 2022 18:10:16 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2E5061A075F; Fri, 20 May 2022 15:10:15 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id A01D4B82E29; Fri, 20 May 2022 22:10:13 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPS id 5CA44C34115; Fri, 20 May 2022 22:10:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1653084612; bh=clr5/eeqDOssSIb7q2BDlSM1acoinPQZnJpbFkRjumo=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=TvP2S582NxDvAdUUOztoxtb6+Sq6arO/UZX0OwrvX1hz6DHBni8C+xpp4bb3GEma/ Bn7HLxdekdU43LVXsBviOS3pWP/hKPeptTOvmRE0csak7KcDhiCQMUeRCEuSAOfRkN NTvrTEFghdeWoarIGz3MiTaXKD1dL+yn0TsJCnYuN1mghhEI80g1FkZ9biMGZ+e4ba tmQUQX/JgdJ2vGFqlUifg13K5p679yA1D3ZRrs0tUSUUBuMK9qm8UY6YZgxSu4IunC 3TS08TW4gsSTzXPEcFf5WFFQocV79RwjVHgjMYTwvoALuGutbQXlD1tv1X6eJ4subf VTTSrHw/rxClQ== 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 3B42AF03935; Fri, 20 May 2022 22:10:12 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH bpf-next v2] selftests/bpf: fix some bugs in map_lookup_percpu_elem testcase From: patchwork-bot+netdevbpf@kernel.org Message-Id: <165308461223.21331.279651299076160105.git-patchwork-notify@kernel.org> Date: Fri, 20 May 2022 22:10:12 +0000 References: <20220518025053.20492-1-zhoufeng.zf@bytedance.com> In-Reply-To: <20220518025053.20492-1-zhoufeng.zf@bytedance.com> To: Feng Zhou Cc: shuah@kernel.org, ast@kernel.org, daniel@iogearbox.net, andrii@kernel.org, kafai@fb.com, songliubraving@fb.com, yhs@fb.com, john.fastabend@gmail.com, kpsingh@kernel.org, rostedt@goodmis.org, mingo@redhat.com, jolsa@kernel.org, davemarchevsky@fb.com, joannekoong@fb.com, geliang.tang@suse.com, linux-kselftest@vger.kernel.org, netdev@vger.kernel.org, bpf@vger.kernel.org, linux-kernel@vger.kernel.org, duanxiongchun@bytedance.com, songmuchun@bytedance.com, wangdongdong.6@bytedance.com, cong.wang@bytedance.com, zhouchengming@bytedance.com, yosryahmed@google.com X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE 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 Hello: This patch was applied to bpf/bpf-next.git (master) by Andrii Nakryiko : On Wed, 18 May 2022 10:50:53 +0800 you wrote: > From: Feng Zhou > > comments from Andrii Nakryiko, details in here: > https://lore.kernel.org/lkml/20220511093854.411-1-zhoufeng.zf@bytedance.com/T/ > > use /* */ instead of // > use libbpf_num_possible_cpus() instead of sysconf(_SC_NPROCESSORS_ONLN) > use 8 bytes for value size > fix memory leak > use ASSERT_EQ instead of ASSERT_OK > add bpf_loop to fetch values on each possible CPU > > [...] Here is the summary with links: - [bpf-next,v2] selftests/bpf: fix some bugs in map_lookup_percpu_elem testcase https://git.kernel.org/bpf/bpf-next/c/7aa424e02a04 You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html