]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitdf47d1091c6ebc0e8a18edc531d246ffd2e39c29
tree8ab2fe9012179255bb3ef8c10932e757bc8803c0
parent681ef89c00f35b2ad9531fb327faa71c233b8a2c
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