]> git.baikalelectronics.ru Git - kernel.git/commit
bpf: Move owner type, jited info into array auxiliary data
authorDaniel Borkmann <daniel@iogearbox.net>
Fri, 22 Nov 2019 20:07:56 +0000 (21:07 +0100)
committerAlexei Starovoitov <ast@kernel.org>
Mon, 25 Nov 2019 01:04:11 +0000 (17:04 -0800)
commit132daefe2cd426b6f066add15568356b22c97470
tree8ad85ac286a4c8a435ac2b83204f610b4e8e2cfa
parent7b705ce2bc41fa96ed2d801a88c10a1a04f25b1c
bpf: Move owner type, jited info into array auxiliary data

We're going to extend this with further information which is only
relevant for prog array at this point. Given this info is not used
in critical path, move it into its own structure such that the main
array map structure can be kept on diet.

Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Acked-by: Andrii Nakryiko <andriin@fb.com>
Link: https://lore.kernel.org/bpf/b9ddccdb0f6f7026489ee955f16c96381e1e7238.1574452833.git.daniel@iogearbox.net
include/linux/bpf.h
kernel/bpf/arraymap.c
kernel/bpf/core.c
kernel/bpf/map_in_map.c
kernel/bpf/syscall.c