bpf: Memcg-based memory accounting for lpm_trie maps
authorRoman Gushchin <guro@fb.com>
Tue, 1 Dec 2020 21:58:39 +0000 (13:58 -0800)
committerAlexei Starovoitov <ast@kernel.org>
Thu, 3 Dec 2020 02:32:45 +0000 (18:32 -0800)
commit353e7af4bf5e7247c35e9ba5beab42904f1b3499
tree1f833632f298ca663d5d4686e9a4994c84fc4b8b
parent881456811a33b9d3952897f4d01ee4d74fa2f30e
bpf: Memcg-based memory accounting for lpm_trie maps

Include lpm trie and lpm trie node objects into the memcg-based memory
accounting.

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