diff options
author | Vasily Averin <vvs@virtuozzo.com> | 2021-07-19 12:44:37 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-07-20 15:00:38 +0200 |
commit | 990c74e3f41d7ae9711d3fb3e8b3f0d3088e0969 (patch) | |
tree | 3f49a521075ec7638f10748023cdc17c963956c6 /net/8021q | |
parent | memcg: enable accounting for IP address and routing-related objects (diff) | |
download | linux-990c74e3f41d7ae9711d3fb3e8b3f0d3088e0969.tar.xz linux-990c74e3f41d7ae9711d3fb3e8b3f0d3088e0969.zip |
memcg: enable accounting for inet_bin_bucket cache
net namespace can create up to 64K tcp and dccp ports and force kernel
to allocate up to several megabytes of memory per netns
for inet_bind_bucket objects.
It makes sense to account for them to restrict the host's memory
consumption from inside the memcg-limited container.
Signed-off-by: Vasily Averin <vvs@virtuozzo.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/8021q')
0 files changed, 0 insertions, 0 deletions