]> git.proxmox.com Git - mirror_ubuntu-kernels.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)
commit6d192c7938b7e53a6bb55b90b86bd02ea0153731
treeabd9631f0149e5943b89022c15dd399ffd35746f
parentd5299b67dd59445902cd30cbc60a03c869cf1adb
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