linux/arch
Daniel Borkmann fa9dd599b4 bpf: get rid of pure_initcall dependency to enable jits
Having a pure_initcall() callback just to permanently enable BPF
JITs under CONFIG_BPF_JIT_ALWAYS_ON is unnecessary and could leave
a small race window in future where JIT is still disabled on boot.
Since we know about the setting at compilation time anyway, just
initialize it properly there. Also consolidate all the individual
bpf_jit_enable variables into a single one and move them under one
location. Moreover, don't allow for setting unspecified garbage
values on them.

Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
2018-01-19 18:37:00 -08:00
..
alpha
arc ARC fixes for 4.15-rc7 2018-01-05 16:06:35 -08:00
arm bpf: get rid of pure_initcall dependency to enable jits 2018-01-19 18:37:00 -08:00
arm64 bpf: get rid of pure_initcall dependency to enable jits 2018-01-19 18:37:00 -08:00
blackfin
c6x
cris
frv
h8300
hexagon
ia64 ia64, sched/cputime: Fix build error if CONFIG_VIRT_CPU_ACCOUNTING_NATIVE=y 2018-01-06 11:48:34 +01:00
m32r kernel/exit.c: export abort() to modules 2018-01-04 16:45:09 -08:00
m68k
metag
microblaze
mips bpf: get rid of pure_initcall dependency to enable jits 2018-01-19 18:37:00 -08:00
mn10300
nios2
openrisc
parisc parisc: qemu idle sleep support 2018-01-06 12:28:04 +01:00
powerpc bpf: get rid of pure_initcall dependency to enable jits 2018-01-19 18:37:00 -08:00
riscv riscv: rename SR_* constants to match the spec 2018-01-07 15:14:39 -08:00
s390 bpf: get rid of pure_initcall dependency to enable jits 2018-01-19 18:37:00 -08:00
score
sh Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2018-01-11 22:13:42 -05:00
sparc bpf: get rid of pure_initcall dependency to enable jits 2018-01-19 18:37:00 -08:00
tile
um Merge branch 'x86-pti-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip 2017-12-23 11:53:04 -08:00
unicore32 kernel/exit.c: export abort() to modules 2018-01-04 16:45:09 -08:00
x86 bpf: get rid of pure_initcall dependency to enable jits 2018-01-19 18:37:00 -08:00
xtensa
.gitignore
Kconfig error-injection: Separate error-injection from kprobe 2018-01-12 17:33:38 -08:00