Skip to content
Commit 914c73e7 authored by Vasily Averin's avatar Vasily Averin Committed by Greg Kroah-Hartman
Browse files

net: enable memcg accounting for veth queues



[ Upstream commit 961c6136 ]

veth netdevice defines own rx queues and allocates array containing
up to 4095 ~750-bytes-long 'struct veth_rq' elements. Such allocation
is quite huge and should be accounted to memcg.

Signed-off-by: default avatarVasily Averin <vvs@openvz.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
Stable-dep-of: 1ce7d306 ("veth: try harder when allocating queue memory")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 8d4d26f5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment