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:Vasily Averin <vvs@openvz.org> Signed-off-by:
David S. Miller <davem@davemloft.net> Stable-dep-of: 1ce7d306 ("veth: try harder when allocating queue memory") Signed-off-by:
Sasha Levin <sashal@kernel.org>
Loading
Please register or sign in to comment