On 2/11/22 9:57 AM, Tiezhu Yang wrote:
Currently, it is not possible to set bpf_jit_enable to 1 by default and the users can change it to 0 or 2, it seems bad for some users, make BPF_JIT_DEFAULT_ON selectable to give them a chance.
I'm not fully sure I follow the above, so you are saying that a kconfig of !BPF_JIT_ALWAYS_ON and ARCH_WANT_DEFAULT_BPF_JIT, enables BPF_JIT_DEFAULT_ON however in such setting you are not able to reset bpf_jit_enable back to 0 at runtime? Thanks, Daniel