diff options
| author | Roman Gushchin <guro@fb.com> | 2018-08-03 00:27:17 +0300 |
|---|---|---|
| committer | Daniel Borkmann <daniel@iogearbox.net> | 2018-08-03 01:47:31 +0300 |
| commit | 0a4c58f5702858822621fa1177c7d3475f181ccb (patch) | |
| tree | c101bcbfc1a4c1affe39dbded5c378c3a41fcb04 /scripts/patch-kernel | |
| parent | fbeb1603bf4e9baa82da8f794de42949d0fe5e25 (diff) | |
| download | linux-0a4c58f5702858822621fa1177c7d3475f181ccb.tar.xz | |
bpf: add ability to charge bpf maps memory dynamically
This commits extends existing bpf maps memory charging API
to support dynamic charging/uncharging.
This is required to account memory used by maps,
if all entries are created dynamically after
the map initialization.
Signed-off-by: Roman Gushchin <guro@fb.com>
Cc: Alexei Starovoitov <ast@kernel.org>
Cc: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Martin KaFai Lau <kafai@fb.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions
