diff options
author | Andrii Nakryiko <andriin@fb.com> | 2019-11-17 09:28:05 -0800 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2019-11-18 11:41:59 +0100 |
commit | 7fe74b436236b17ac57e46527166d22bcc230175 (patch) | |
tree | 7caa1d7e4c28ee1b925410be13da037eaee7d902 /.gitignore | |
parent | fc9702273e2edb90400a34b3be76f7b08fa3344b (diff) |
libbpf: Make global data internal arrays mmap()-able, if possible
Add detection of BPF_F_MMAPABLE flag support for arrays and add it as an extra
flag to internal global data maps, if supported by kernel. This allows users
to memory-map global data and use it without BPF map operations, greatly
simplifying user experience.
Signed-off-by: Andrii Nakryiko <andriin@fb.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Song Liu <songliubraving@fb.com>
Acked-by: John Fastabend <john.fastabend@gmail.com>
Link: https://lore.kernel.org/bpf/20191117172806.2195367-5-andriin@fb.com
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions