summaryrefslogtreecommitdiffstats
path: root/include/uapi/linux/bpf.h
diff options
context:
space:
mode:
authorRoman Gushchin2018-08-02 23:27:17 +0200
committerDaniel Borkmann2018-08-03 00:47:31 +0200
commit0a4c58f5702858822621fa1177c7d3475f181ccb (patch)
treec101bcbfc1a4c1affe39dbded5c378c3a41fcb04 /include/uapi/linux/bpf.h
parentbpf: verifier: MOV64 don't mark dst reg unbounded (diff)
downloadkernel-qcow2-linux-0a4c58f5702858822621fa1177c7d3475f181ccb.tar.gz
kernel-qcow2-linux-0a4c58f5702858822621fa1177c7d3475f181ccb.tar.xz
kernel-qcow2-linux-0a4c58f5702858822621fa1177c7d3475f181ccb.zip
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 'include/uapi/linux/bpf.h')
0 files changed, 0 insertions, 0 deletions