Vasily Averin 1b51d82719 memcg: ipv6/sit: account and don't WARN on ip_tunnel_prl structs allocation
Author: Andrey Ryabinin <aryabinin@virtuozzo.com>

The size of the ip_tunnel_prl structs allocation is controllable from
user-space, thus it's better to avoid spam in dmesg if allocation failed.
Also add __GFP_ACCOUNT as this is a good candidate for per-memcg
accounting. Allocation is temporary and limited by 4GB.

Signed-off-by: Andrey Ryabinin <aryabinin@virtuozzo.com>
Signed-off-by: Vasily Averin <vvs@virtuozzo.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2021-07-20 06:00:38 -07:00
..
2021-06-11 14:48:50 +02:00
2019-07-27 14:23:48 -07:00
2021-06-11 14:48:50 +02:00
2020-03-29 22:30:57 -07:00
2021-06-29 11:28:21 -07:00
2021-04-29 15:34:15 -07:00
2020-12-16 11:01:04 -08:00