]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
bpf: Refine memcg-based memory accounting for cpumap maps
authorRoman Gushchin <guro@fb.com>
Tue, 1 Dec 2020 21:58:35 +0000 (13:58 -0800)
committerAlexei Starovoitov <ast@kernel.org>
Thu, 3 Dec 2020 02:32:45 +0000 (18:32 -0800)
commite88cc05b61f3fe8bd4bd8ce1a0a2d03357225305
treeb45c962bd4c16d4cb8ecb3d8592ffaeb91b8893a
parent6d192c7938b7e53a6bb55b90b86bd02ea0153731
bpf: Refine memcg-based memory accounting for cpumap maps

Include metadata and percpu 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-10-guro@fb.com
kernel/bpf/cpumap.c