bpf: Memcg-based memory accounting for bpf local storage maps
authorRoman Gushchin <guro@fb.com>
Tue, 1 Dec 2020 21:58:41 +0000 (13:58 -0800)
committerAlexei Starovoitov <ast@kernel.org>
Thu, 3 Dec 2020 02:32:45 +0000 (18:32 -0800)
commite9aae8beba825e4670463ddcf420b954f18d5ced
tree8ab2fe9012179255bb3ef8c10932e757bc8803c0
parentbe4035c734d12918866c5eb2c496d420aa80adeb
bpf: Memcg-based memory accounting for bpf local storage maps

Account memory used by bpf local storage maps:
per-socket, per-inode and per-task storages.

Signed-off-by: Roman Gushchin <guro@fb.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Link: https://lore.kernel.org/bpf/20201201215900.3569844-16-guro@fb.com
kernel/bpf/bpf_local_storage.c