diff options
| author | 2019-11-14 10:57:13 -0800 | |
|---|---|---|
| committer | 2019-11-15 23:44:06 +0100 | |
| commit | 9fd4a39dc7fe734d26eb89ea97e8c91331c6378c (patch) | |
| tree | 5783728bdca357b04e48d656d84eb07b1624a4a8 /include/linux/debugobjects.h | |
| parent | selftests/bpf: Add stress test for maximum number of progs (diff) | |
bpf: Reserve space for BPF trampoline in BPF programs
BPF trampoline can be made to work with existing 5 bytes of BPF program
prologue, but let's add 5 bytes of NOPs to the beginning of every JITed BPF
program to make BPF trampoline job easier. They can be removed in the future.
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Andrii Nakryiko <andriin@fb.com>
Acked-by: Song Liu <songliubraving@fb.com>
Link: https://lore.kernel.org/bpf/20191114185720.1641606-14-ast@kernel.org
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions
