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)
commit2beee5f57441413b64a9c2bd657e17beabb98d1c
tree8ad85ac286a4c8a435ac2b83204f610b4e8e2cfa
parent6332be04c039a72fca32ed0a4265bac58d606bb6
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