# Re: \[PATCH bpf-next\] bpf: support bpf\_jit\_enable=2 for CONFIG\_BPF\_JIT\_ALWAYS\_ON

- From: Alexei Starovoitov \<hidden\>
- Date: 2021-12-31 16:33:02 
- List: netdev
- Page: https://ratatoskr.run/netdev/2021/12/7789901
- Thread: https://ratatoskr.run/netdev/2021/12/7789898/t.md

```text
On Fri, Dec 31, 2021 at 7:20 AM Hou Tao [ref] wrote:
>
> bpf_jit_enable=2 is used to dump the jited images for debug purpose,
> however if CONFIG_BPF_JIT_ALWAYS_ON is enabled, its value is fixed
> as one and can not be changed. So make the debug switch work again.
>
> Signed-off-by: Hou Tao <redacted>

That was discussed in the past:
https://lore.kernel.org/bpf/20210326124030.1138964-1-Jianlin.Lv@arm.com/
The old point stands.
```
