diff options
| author | Emil Tsalapatis <emil@etsalapatis.com> | 2026-10-02 10:52:16 +0000 |
|---|---|---|
| committer | Alexei Starovoitov <ast@kernel.org> | 2026-10-02 13:00:59 +0000 |
| commit | baf4e66f038fb1181dd0b1085c6b0913399c289f (patch) | |
| tree | d7c62cbc5cfa993c1419a2835be3635d5e4eacde /include/linux/timerqueue.h | |
| parent | 0f6512272538b1419ccb3a3ea192bde882edc511 (diff) | |
| download | linux-next-baf4e66f038fb1181dd0b1085c6b0913399c289f.tar.gz linux-next-baf4e66f038fb1181dd0b1085c6b0913399c289f.zip | |
bpf: Directly store kfunc desc index in instruction off field
Currently, the verifier sort the kfunc desc table twice: Once during
kfunc collection by function ID, useful during verification, and
once by immediate address, useful during JIT bytecode lowering
time. The latter sort can be removed by storing in the instruction
the kfunc desc array index the desc is in and using that instead.
Modify the JITs to follow the same convention.
This change simplifies the subsequent patch that adds per-call site
function specialization.
Signed-off-by: Emil Tsalapatis <emil@etsalapatis.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Link: https://patch.msgid.link/20261002105218.6171-6-emil@etsalapatis.com
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions
