diff options
author | Jakub Kicinski <jakub.kicinski@netronome.com> | 2019-01-23 07:45:23 +0100 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2019-01-24 02:35:32 +0100 |
commit | 9e4c24e7ee7dfd3898269519103e823892b730d8 (patch) | |
tree | b62ec0289acccf464e0fc6bcee8fd3417f4bc24c /kernel/torture.c | |
parent | selftests: bpf: add tests for dead code removal (diff) | |
download | linux-9e4c24e7ee7dfd3898269519103e823892b730d8.tar.xz linux-9e4c24e7ee7dfd3898269519103e823892b730d8.zip |
bpf: verifier: record original instruction index
The communication between the verifier and advanced JITs is based
on instruction indexes. We have to keep them stable throughout
the optimizations otherwise referring to a particular instruction
gets messy quickly.
Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Reviewed-by: Quentin Monnet <quentin.monnet@netronome.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'kernel/torture.c')
0 files changed, 0 insertions, 0 deletions