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

From: patchwork-bot+netdevbpf
Date: Wed May 04 2022 - 23:50:26 EST


Hello:

This patch was applied to netdev/net-next.git (master)
by Jakub Kicinski <kuba@xxxxxxxxxx>:

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.
https://korg.docs.kernel.org/patchwork/pwbot.html