]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd3d7ba066af7fda4a04a511ec918ab822c8bdc2e
tree1f833632f298ca663d5d4686e9a4994c84fc4b8b
parent19e5eabb91dc5bc72a9ea13851c6f5f16531440d
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