diff options
author | Roman Gushchin <guro@fb.com> | 2020-12-01 13:58:31 -0800 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2020-12-02 18:28:06 -0800 |
commit | ddf8503c7c434374a1112e89bcedfe1ccb3057df (patch) | |
tree | ff6d3472f961844d69f589996d85fe6b54f40ea3 /security | |
parent | 18b2db3b0385226b71cb3288474fa5a6e4a45474 (diff) | |
download | linux-ddf8503c7c434374a1112e89bcedfe1ccb3057df.tar.gz linux-ddf8503c7c434374a1112e89bcedfe1ccb3057df.tar.bz2 linux-ddf8503c7c434374a1112e89bcedfe1ccb3057df.zip |
bpf: Memcg-based memory accounting for bpf progs
Include memory used by bpf programs into the memcg-based accounting.
This includes the memory used by programs itself, auxiliary data,
statistics and bpf line info. A memory cgroup containing the
process which loads the program is getting charged.
Signed-off-by: Roman Gushchin <guro@fb.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Acked-by: Song Liu <songliubraving@fb.com>
Link: https://lore.kernel.org/bpf/20201201215900.3569844-6-guro@fb.com
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions