diff options
author | 2020-12-01 13:58:31 -0800 | |
---|---|---|
committer | 2020-12-02 18:28:06 -0800 | |
commit | ddf8503c7c434374a1112e89bcedfe1ccb3057df (patch) | |
tree | ff6d3472f961844d69f589996d85fe6b54f40ea3 /include/linux/bpf.h | |
parent | mm: Convert page kmemcg type to a page memcg flag (diff) | |
download | wireguard-linux-ddf8503c7c434374a1112e89bcedfe1ccb3057df.tar.xz wireguard-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 'include/linux/bpf.h')
0 files changed, 0 insertions, 0 deletions