Re: [PATCH bpf-next v4 09/13] selftests/bpf: Add JIT-sequence tests for __arena kfunc arguments

Eduard Zingerman <[email protected]>
Newsgroups org.kernel.vger.bpf
Message-ID <[email protected]>
On Wed, 2026-08-05 at 23:04 +0200, Kumar Kartikeya Dwivedi wrote:
> From: Tejun Heo <[email protected]>
> 
> Pin the exact rebase sequences the JITs emit for __arena and
> __arena__nullable kfunc arguments with __jited assertions on x86-64: the
> unconditional truncate-and-add, the nullable test-and-skip variant, and
> all five argument registers in one call, which also covers the
> REX-prefixed encoding of r8 on x86. The capture kfuncs take the argument
> without dereferencing, so only the emitted code is under test. The
> tests skip without LLVM disassembler support.
> 
> Signed-off-by: Tejun Heo <[email protected]>
> Signed-off-by: Kumar Kartikeya Dwivedi <[email protected]>
> ---

Acked-by: Eduard Zingerman <[email protected]>

...
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.