]> git.baikalelectronics.ru Git - kernel.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)
commit69217623ef6ea7555422a36d9bb6620190861eed
treeb45c962bd4c16d4cb8ecb3d8592ffaeb91b8893a
parentb17172b16bc0891a26153a07d0557be113d029c3
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