Re: [PATCH 2/3] bpf: introduce bpf_jit_insn_aux_data
From: Yeoreum Yun
Date: Fri Mar 06 2026 - 17:43:32 EST
> On Fri, Mar 6, 2026 at 2:13 PM Yeoreum Yun <yeoreum.yun@xxxxxxx> wrote:
> >
> > This patch prepares for fixing the BTI exception related to gotox.
> >
> > bpf_jit_insn_aux_data contains per-instruction auxiliary data for the JIT,
> > extracted from env->insn_aux_data.
> >
> > For example, it is used to determine whether an instruction is
> > a destination of a gotox, allowing the JIT to emit
> > the appropriate BTI instruction at that location in arm64.
> >
> > Signed-off-by: Yeoreum Yun <yeoreum.yun@xxxxxxx>
> > ---
> > include/linux/bpf.h | 6 +++++
> > include/linux/filter.h | 4 +++
> > kernel/bpf/core.c | 59 +++++++++++++++++++++++++++++++++++++++++-
> > kernel/bpf/verifier.c | 30 ++++++++++++++++++++-
> > 4 files changed, 97 insertions(+), 2 deletions(-)
>
> before posting patches please scan the mailing list to see whether
> a particular issue was discussed.
>
> pw-bot: cr
Oh. I missed Xu Kuohai's patch posted on today.
- https://lore.kernel.org/all/20260306102329.2056216-1-xukuohai@xxxxxxxxxxxxxxx/
Thanks.
--
Sincerely,
Yeoreum Yun