From: patchwork-bot+netdevbpf@kernel.org
To: Roman Gushchin <roman.gushchin@linux.dev>
Cc: bpf@vger.kernel.org, shakeelb@google.com, ast@kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH bpf-next v2] bpf: reparent bpf maps on memcg offlining
Date: Tue, 12 Jul 2022 22:50:13 +0000 [thread overview]
Message-ID: <165766621306.6916.10461037448631832100.git-patchwork-notify@kernel.org> (raw)
In-Reply-To: <20220711162827.184743-1-roman.gushchin@linux.dev>
Hello:
This patch was applied to bpf/bpf-next.git (master)
by Alexei Starovoitov <ast@kernel.org>:
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
prev parent reply other threads:[~2022-07-12 22:50 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-07-11 16:28 [PATCH bpf-next v2] bpf: reparent bpf maps on memcg offlining Roman Gushchin
2022-07-12 21:48 ` Alexei Starovoitov
2022-07-12 22:11 ` Shakeel Butt
2022-07-12 22:15 ` Alexei Starovoitov
2022-07-13 2:13 ` Roman Gushchin
2022-07-12 22:50 ` patchwork-bot+netdevbpf [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=165766621306.6916.10461037448631832100.git-patchwork-notify@kernel.org \
--to=patchwork-bot+netdevbpf@kernel.org \
--cc=ast@kernel.org \
--cc=bpf@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=roman.gushchin@linux.dev \
--cc=shakeelb@google.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox