commit | 7846dd9f835e248901a9f77a43745f8f1de04741 | [log] [tgz] |
---|---|---|
author | Roman Gushchin <guro@fb.com> | Tue Dec 01 13:58:42 2020 -0800 |
committer | Alexei Starovoitov <ast@kernel.org> | Wed Dec 02 18:32:46 2020 -0800 |
tree | 773a44945d1e25b9cae0415d924d644a1516c95b | |
parent | e9aae8beba825e4670463ddcf420b954f18d5ced [diff] |
bpf: Refine memcg-based memory accounting for sockmap and sockhash maps Include internal metadata into the memcg-based memory accounting. Also include the memory allocated on updating an element. Signed-off-by: Roman Gushchin <guro@fb.com> Signed-off-by: Alexei Starovoitov <ast@kernel.org> Link: https://lore.kernel.org/bpf/20201201215900.3569844-17-guro@fb.com