]> 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)
commit93c59ab912bc68c58a5cf10bbd23bdab5381563b
tree8ad85ac286a4c8a435ac2b83204f610b4e8e2cfa
parent152c59dd0b8c7a18db7858857fbd86e7e2d50904
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