Received: by 2002:a05:7412:cfc7:b0:fc:a2b0:25d7 with SMTP id by7csp1360314rdb; Mon, 19 Feb 2024 12:49:32 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUPfaOpm56LNsqdlAA+bS8Z+onZo0ngWevn6r8CG38sZ+D/W1Mg5ARi+mcCM6a4G6B2JmfOHB3Wfa76Mwax86BSjJgkByF+8tIPm62FNg== X-Google-Smtp-Source: AGHT+IELSlX7h8Df94najfR1oE7suJ6g/9H3FOnomQK/cgrdEj8sLCKF1tCIwO19kvwc45cdnpfW X-Received: by 2002:a05:6358:8aa:b0:178:a202:66b1 with SMTP id m42-20020a05635808aa00b00178a20266b1mr16178317rwj.25.1708375772152; Mon, 19 Feb 2024 12:49:32 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708375772; cv=pass; d=google.com; s=arc-20160816; b=ULZnVvCIxcLQ2SMZ70QvJbMdGN7DoiaMTRGQB3MD5Ro+p3J9WrnExbDDIxQ6jSRSrC bxCGuLLe2FPV0VgwjJmHBDOo3FeH/wRpUgUmi1zTtjc1ceF47PzGLBb514auVKFXddhz v96v03EbB7GjsCN5ou7rAynTzM74XyZsbJLjv1f9HuoYyCrGQh9sX2qSfu+gDBxCr5pL RJScGjjmrXC4dkW8yC0QhYe0l9xh8MPX94h8qN+Xwuf+SQd7LUSMh9IRB0TkSCYaDkWu 6VDXwU0AFYPG1FHBvRx1F9JN9k1TNJiB9c9ffAsBA9aMfTUX3Q+oqUa7irO99azk2Drx xX1g== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:in-reply-to:references:date:message-id:from:subject :content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:dkim-signature; bh=MxesJR2ySCe3KFVia5HPXEezl0dOqOjVkPa93V9SLy0=; fh=BGQ0gk3hpx07T7bOGeYOijNcOE9LL0WUw0Us4drW9Kw=; b=ijSKrlLKowDMMbJvhj2OrYTpCXhZmu9T3jvaSNAHmImIQumQUX6wvqq3qK7lNWAKBj 9w/Koox3vq50h5OT+xuznzhKysR3lWNXF3XYlKgLWF2A3vDxurW8YGubH7833zTZ6kWW hSN30Dqk5BqX7BJjxX5FS8ugbu8jzK8UsHGRczpsTuLvn0SwFFtrAPoD/O478lTFmrdf eqeOH4GWkD00b2Dr90fOenN00Ad0yDZogvqXjwkC19bKOuqotZ40zknHQqk6AIC3sHdU WevTnQuWvd2IF5eYgSMlfyBWaoLsthOIwqFbfYhJN10IH+XaKJQff/JAOcYbKy3F7bxP sdLg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ZwGpWn7b; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-71974-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-71974-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id a27-20020a630b5b000000b005dbc6dc4cdasi5071530pgl.255.2024.02.19.12.49.31 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 19 Feb 2024 12:49:32 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-71974-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ZwGpWn7b; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-71974-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-71974-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id E2E18B229C9 for ; Mon, 19 Feb 2024 20:40:36 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 52006535D6; Mon, 19 Feb 2024 20:40:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="ZwGpWn7b" 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 790432E40C; Mon, 19 Feb 2024 20:40:26 +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=1708375226; cv=none; b=g87uUdKlYs7TN+kPrk59Atf5mtOn+eqbQyLhVLi3T+70l6W8V6S4dalt7wkWCjKRsWw+CP9Oh0r4YO6CF2nWP6fftzPKMHoTnnx0a7+pDfK6Raf8d+7toiah2EQJjeErYOqFL36chNCgoO00MHxCR9MGbfGH2MaKGORDBk2lWP0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708375226; c=relaxed/simple; bh=U7lK/QxgqZFx8nQ7+Dwc3ef1xihUvLtQ98Tcz07NpcA=; h=Content-Type:MIME-Version:Subject:From:Message-Id:Date:References: In-Reply-To:To:Cc; b=g7VZ+FycG7JAGmgLFs68R5TydgiouQsUnDf5Pes4TUD51ulbPPtG8BhklKBNhR0w5Rr2tSgsbesvL8dsj0EBk4wBfEE/KMOmME6NJWAHh8JcY7OxUnVPopoM2wcGZrvYmkHDxw6lSE/JHF4wBDnzq6S0/Zr//k3ZApH//S2hHDs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=ZwGpWn7b; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPS id F19E5C43390; Mon, 19 Feb 2024 20:40:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1708375226; bh=U7lK/QxgqZFx8nQ7+Dwc3ef1xihUvLtQ98Tcz07NpcA=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=ZwGpWn7boXQqk3yRS7pifDZgzDdPUTbDEx4mH8TW1Qz0HzcaNtEvqCqBbJEmHs7pD 79OCCfT4zjaL+Q4BygPgNf7QeAagIgdXuKmuaGkhPSWKYGRH9fw2B+K/sM6uXzcdnc 0ZWwj5SSGCK8y3AJ2ZKGX026/L0n/iu7WtNGEYjQZKrikR1kNisgj9apMhdOHVHehe L5vAYzQImAdt3AU3rykRzbUQFRC07X9J5rbh/Zficri+7QcMaitqk5X57aCBMa1HSF x2I6779FbVuLbLdm6Q4VqlreQrbMY/aooKFLUhIGOq6IAt448Oi1+39LuP/kaT0Q9L 2gLh0JK8oKcbw== 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 D97D9D990D9; Mon, 19 Feb 2024 20:40:25 +0000 (UTC) Content-Type: text/plain; charset="utf-8" Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH net-next] page_pool: disable direct recycling based on pool->cpuid on destroy From: patchwork-bot+netdevbpf@kernel.org Message-Id: <170837522588.25032.4338620984116633204.git-patchwork-notify@kernel.org> Date: Mon, 19 Feb 2024 20:40:25 +0000 References: <20240215113905.96817-1-aleksander.lobakin@intel.com> In-Reply-To: <20240215113905.96817-1-aleksander.lobakin@intel.com> To: Alexander Lobakin Cc: davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, lorenzo@kernel.org, toke@redhat.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Hello: This patch was applied to netdev/net-next.git (main) by Jakub Kicinski : On Thu, 15 Feb 2024 12:39:05 +0100 you wrote: > Now that direct recycling is performed basing on pool->cpuid when set, > memory leaks are possible: > > 1. A pool is destroyed. > 2. Alloc cache is emptied (it's done only once). > 3. pool->cpuid is still set. > 4. napi_pp_put_page() does direct recycling basing on pool->cpuid. > 5. Now alloc cache is not empty, but it won't ever be freed. > > [...] Here is the summary with links: - [net-next] page_pool: disable direct recycling based on pool->cpuid on destroy https://git.kernel.org/netdev/net-next/c/56ef27e3abe6 You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html