Received: by 2002:a05:6a10:9afc:0:0:0:0 with SMTP id t28csp2954745pxm; Mon, 28 Feb 2022 09:10:48 -0800 (PST) X-Google-Smtp-Source: ABdhPJzWGtmMSh3MthyRCEVc1yQS5rxz/7ncrld0NufpfKJoWrKMZJiMDR4uD+MzeaJlOk7+Ho2R X-Received: by 2002:a17:903:41cd:b0:151:5c70:4181 with SMTP id u13-20020a17090341cd00b001515c704181mr8853850ple.23.1646068247794; Mon, 28 Feb 2022 09:10:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1646068247; cv=none; d=google.com; s=arc-20160816; b=m+AklQuOOorWpY6wAvPqg29doZcOigPB239R89XW7SwsqNtq5ZfhMBe6CngcdeMrgW hULzGiLe8C+bphhDOtIqkF2GFi2NcDvXgmbXXB0xcuqUCGB6piKiw8tX72xX9in6Ll3f xufDPxbhVhfysTOOCLB1/VDP5BM7H0fIsmeWwgq0SOqsnZdxSk7xUynSuxEydvQsef4Z mO9c3q0p3xM4+SveqdhTR7easHKN7a4JoeI55sObh7Ev9k47+tVHiMEg6wuOCDsa+17a I/yROEMkYUqjknEO324SolD7BGQzNgWyjbyGE8qynR0GHeYIhJYxq+Y+KaNBsNdjdnnr ieKQ== 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=NfJZzxdsCES8Yu4kv+il5ABgM1iPV+54fg/xLtHGQ3E=; b=x/fBVKzU6PB17572VWrIdJRA/w4YT6IvGE6xoh4pUFXFs7nNSwWKcZteOwZOXbz2ub O4ldoRWBVaDSSBIe/Ydvse54SJ35wCvww80F5LWZjL7EL3V3r31jyQ+qHh8dLyzaVKj7 xW+zuE/EWuYhwAwFP61Na+z79tPV3NmX6oALcYvY7cs0j7YK6QiGMqxL4V3to/mSxUgR P5Sh0ezMKXw8nTidoLmx9e6kaBZOy07FuYMYBFkHTNpORDMIPpxE2x8JthqIyGlw5DZd N/vDQD2loEy6PpiRrN3NEo6tMoi7iYZ67hAUsb05jSWXZvLp+BS4gaMWX6KvqxDWvcaW BsTg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=RO6z7u2J; 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=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id x23-20020a170902821700b001500760bfc1si9408277pln.404.2022.02.28.09.10.31; Mon, 28 Feb 2022 09:10:47 -0800 (PST) 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=@kernel.org header.s=k20201202 header.b=RO6z7u2J; 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=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237949AbiB1Qky (ORCPT + 99 others); Mon, 28 Feb 2022 11:40:54 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55316 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229991AbiB1Qkw (ORCPT ); Mon, 28 Feb 2022 11:40:52 -0500 Received: from sin.source.kernel.org (sin.source.kernel.org [IPv6:2604:1380:40e1:4800::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4A04981198; Mon, 28 Feb 2022 08:40:13 -0800 (PST) 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 sin.source.kernel.org (Postfix) with ESMTPS id A6243CE175A; Mon, 28 Feb 2022 16:40:11 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPS id 05187C340F0; Mon, 28 Feb 2022 16:40:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1646066410; bh=1/VDKwcrxOwUXW7PkPQ4YjS7GLrJ5lJeI6UJBXY4i9Y=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=RO6z7u2JN141BDj589wq5Gf//JmSBzc532GINDStT7w43AqcxNv6HdYUHG/2fuk9L iTzf39VrDMyZnHhf57go12PiIZZ71JGA//zeaC3tpr7UVoshLLpxljfqwL8Cc0x4fv SBp6BwFYa4I+SeokRQEM/ejn6NY9my85l9/m/UnGI0IzbmoFhT93aLRmfTauqtISPb fC29A0S9bYVe+BGRkfNLdGEGhlECv/kQQH5MMTdnUfCrLaQY5YRaGkgMpS1hRWnNI6 RH6Vqs2SC87mwxjo2VGnRKzvBtuO6i77T4mWgMElE9euiYQOTAPW467hx0DIzdB0bB aWphr94Sm76yw== 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 D598DEAC095; Mon, 28 Feb 2022 16:40:09 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH v2] libbpf: fix BPF_MAP_TYPE_PERF_EVENT_ARRAY auto-pinning From: patchwork-bot+netdevbpf@kernel.org Message-Id: <164606640987.23345.3964294221213220765.git-patchwork-notify@kernel.org> Date: Mon, 28 Feb 2022 16:40:09 +0000 References: <20220225152355.315204-1-stijn@linux-ipv6.be> In-Reply-To: <20220225152355.315204-1-stijn@linux-ipv6.be> To: Stijn Tintel Cc: bpf@vger.kernel.org, songliubraving@fb.com, andrii@kernel.org, toke@redhat.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, kpsingh@kernel.org, yhs@fb.com, kafai@fb.com, daniel@iogearbox.net, ast@kernel.org X-Spam-Status: No, score=-7.5 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham 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 Daniel Borkmann : On Fri, 25 Feb 2022 17:23:55 +0200 you wrote: > When a BPF map of type BPF_MAP_TYPE_PERF_EVENT_ARRAY doesn't have the > max_entries parameter set, the map will be created with max_entries set > to the number of available CPUs. When we try to reuse such a pinned map, > map_is_reuse_compat will return false, as max_entries in the map > definition differs from max_entries of the existing map, causing the > following error: > > [...] Here is the summary with links: - [v2] libbpf: fix BPF_MAP_TYPE_PERF_EVENT_ARRAY auto-pinning https://git.kernel.org/bpf/bpf-next/c/a4fbfdd7a160 You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html