Re: [PATCH bpf-next v5 05/10] bpf, x86: refactor BPF_ST management in do_jit

From: Ihor Solodrai

Date: Wed Jul 15 2026 - 18:29:23 EST


On 7/9/26 3:01 AM, Alexis Lothoré (eBPF Foundation) wrote:
> In order to prepare for KASAN checks insertion before every
> memory-related load or store, group all BPF_ST instructions that indeed
> access memory in a single helper to allow instrumenting those in one
> call, rather than having to instrument all cases individually.
>
> Signed-off-by: Alexis Lothoré (eBPF Foundation) <alexis.lothore@xxxxxxxxxxx>

The refactoring looks good to me.

Acked-by: Ihor Solodrai <ihor.solodrai@xxxxxxxxx>

> ---
> Changes in v3:
> - new patch
> ---
> arch/x86/net/bpf_jit_comp.c | 99 +++++++++++++++++++++++++++------------------
> 1 file changed, 60 insertions(+), 39 deletions(-)
>
> [...]
>