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

Include percpu arrays and auxiliary data 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-9-guro@fb.com
kernel/bpf/arraymap.c