Re: [PATCH memcg v2] memcg: accounting for objects allocated for new netdevice

patchwork-bot+netdevbpf-DgEjT+Ai2ygdnm+yROfE0A
2022-05-05T03:50:14Z

Hello:

This patch was applied to netdev/net-next.git (master)
by Jakub Kicinski <kuba-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>:

On Mon, 2 May 2022 15:15:51 +0300 you wrote:
> Creating a new netdevice allocates at least ~50Kb of memory for various
> kernel objects, but only ~5Kb of them are accounted to memcg. As a result,
> creating an unlimited number of netdevice inside a memcg-limited container
> does not fall within memcg restrictions, consumes a significant part
> of the host's memory, can cause global OOM and lead to random kills of
> host processes.
>
> [...]

Here is the summary with links:
- [memcg,v2] memcg: accounting for objects allocated for new netdevice
https://git.kernel.org/netdev/net-next/c/425b9c7f51c9

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.