]> git.baikalelectronics.ru Git - kernel.git/commit
bpf: Refine memcg-based memory accounting for xskmap maps
authorRoman Gushchin <guro@fb.com>
Tue, 1 Dec 2020 21:58:43 +0000 (13:58 -0800)
committerAlexei Starovoitov <ast@kernel.org>
Thu, 3 Dec 2020 02:32:46 +0000 (18:32 -0800)
commit5cefd9131d87ad5e458f2e9624975e75c0e4cf32
tree05fd574297dcb7df19cc770c8b448659c61159a9
parentf80ddeba29f37608590eb7bd63217ac6c6177f3f
bpf: Refine memcg-based memory accounting for xskmap maps

Extend xskmap memory accounting to include the memory taken by
the xsk_map_node structure.

Signed-off-by: Roman Gushchin <guro@fb.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Link: https://lore.kernel.org/bpf/20201201215900.3569844-18-guro@fb.com
net/xdp/xskmap.c