Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp151906imw; Tue, 12 Jul 2022 16:35:26 -0700 (PDT) X-Google-Smtp-Source: AGRyM1vwcmWA8IuyfQ4otcBZzZkNRqPBgw/9AxLew/UkeeBZ8ZXbUrTzGKDXL2FE2PVMpp5I/xY6 X-Received: by 2002:a17:907:1dda:b0:72b:31e2:905e with SMTP id og26-20020a1709071dda00b0072b31e2905emr555207ejc.183.1657668926232; Tue, 12 Jul 2022 16:35:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1657668926; cv=none; d=google.com; s=arc-20160816; b=VEh2zErInEGYEHga8LtNmJ9xflS7XxXIFkU0PSyFMJY0du7UiJW8Y3/h7voB1z1kFF VzGsfVhF3YYrdv9A/TjObbXJnObQD9/MKiPvrR6vbu+6hbVrMaw9MPoRPT676PQpOGuE pPNWK/KcK4nbK7F97hljC9FXWBvUV8otaYnH4hQeObI8YiXZL9r8iSmtGDPN03wXhMdf afUsaY9HxsUqmlKYjONgEx5qQfGDikOemxae1DmkQ7AFyJdi2DaHI6zWwyI9QpNEnzkn I2nA7iyffgfJa7rrg3Y3qDoC5uJxtjbvR0sofuFCo/wSKQc4iRFao/T15LS99ktcDkWK Jr4A== 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=wk4RNTm2HwZEpwQMHB+6llQstWg0syeChmqylewEj7k=; b=ZjdyV3JB3ByAw8ZyvSQmDtbXghj148EjsJlRJULio7tCFeHSOpQEgcADFl8YZS6S5r jMk1DHsPs/LQsAkXmYOw5x6LhWOS2VjOaQ4rJtF2Pwh8N3oPk7dmZqPEcWXnD7uH6V/f fhlzdxFFMpDrEIAPykG78YdfwqmsY7J3gWR/tnkiHdLQKyl35mfJHhD+A90AThmYDDh4 2FgPNfQxaNOEj2y3o/NBcuapqxckHF8hu07d8VvdtREuxVg64kWIqJ6rISBtO6nGPeBY Qlar0/+w5MHwajNjX3nDDSldf2y2PRnGGXqIrf3zFkOO2Dij3+AAJdaCVZFPjBYmBNA8 My3g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="sjS77mO/"; 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 z5-20020a170906240500b0072a38f3f0e8si15784656eja.215.2022.07.12.16.34.58; Tue, 12 Jul 2022 16:35:26 -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=@kernel.org header.s=k20201202 header.b="sjS77mO/"; 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 S233739AbiGLWuR (ORCPT + 99 others); Tue, 12 Jul 2022 18:50:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56120 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229994AbiGLWuO (ORCPT ); Tue, 12 Jul 2022 18:50:14 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 471D1CA6E3; Tue, 12 Jul 2022 15:50:14 -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 dfw.source.kernel.org (Postfix) with ESMTPS id D89EF616BF; Tue, 12 Jul 2022 22:50:13 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPS id 3A5EAC341C0; Tue, 12 Jul 2022 22:50:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1657666213; bh=Fw2HVl5pOOx14EuTz+/2ML5JWynn7CkeflqoQrb4fiI=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=sjS77mO/0R7Jmh1itiZeo1B52QQI8X9j3NAQl4yYs0sjCBEgBkR9KVIg2NRxEtJ9a YuRzxHnnnWSAVJKASs98F7SGBZBAhAWHqcr9SVmATkhxKMma4rGTKzQJRgoDhsIQAc eVHcZDzzgGIawAcgVmS/r7Run0EXaH8ED5Ehch+YLIPu6YIiDfzbnDm6CO57K28E9C vgLlwWUEuoJaaD7w9Tj4kXfPZF1gyFW86YUzr8IDGuASiqtVV1VTUYWKase5AwkM49 vTP7yVBGT0MjKRSI3ay/HjiGC00E6tV9FRL6SakV8o/Pl4F2/y8nb9O7dJzvGhjTu/ XacloXLzszbZw== 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 12239E45227; Tue, 12 Jul 2022 22:50:13 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH bpf-next v2] bpf: reparent bpf maps on memcg offlining From: patchwork-bot+netdevbpf@kernel.org Message-Id: <165766621306.6916.10461037448631832100.git-patchwork-notify@kernel.org> Date: Tue, 12 Jul 2022 22:50:13 +0000 References: <20220711162827.184743-1-roman.gushchin@linux.dev> In-Reply-To: <20220711162827.184743-1-roman.gushchin@linux.dev> To: Roman Gushchin Cc: bpf@vger.kernel.org, shakeelb@google.com, ast@kernel.org, linux-kernel@vger.kernel.org X-Spam-Status: No, score=-7.7 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 Alexei Starovoitov : On Mon, 11 Jul 2022 09:28:27 -0700 you wrote: > The memory consumed by a mpf map is always accounted to the memory > cgroup of the process which created the map. The map can outlive > the memory cgroup if it's used by processes in other cgroups or > is pinned on bpffs. In this case the map pins the original cgroup > in the dying state. > > For other types of objects (slab objects, non-slab kernel allocations, > percpu objects and recently LRU pages) there is a reparenting process > implemented: on cgroup offlining charged objects are getting > reassigned to the parent cgroup. Because all charges and statistics > are fully recursive it's a fairly cheap operation. > > [...] Here is the summary with links: - [bpf-next,v2] bpf: reparent bpf maps on memcg offlining https://git.kernel.org/bpf/bpf-next/c/cbddef2759b6 You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html