aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/locking
diff options
context:
space:
mode:
authorDaniel Borkmann <daniel@iogearbox.net>2019-10-03 01:45:12 +0200
committerAlexei Starovoitov <ast@kernel.org>2019-10-04 12:27:36 -0700
commit4bbbf164f1a5e970543dcdb7a396fc1cf477725b (patch)
tree2a39e91267f10f8ef586dbad422821c07fceb7a0 /Documentation/locking
parentbpf, x86: Small optimization in comparing against imm0 (diff)
downloadlinux-dev-4bbbf164f1a5e970543dcdb7a396fc1cf477725b.tar.xz
linux-dev-4bbbf164f1a5e970543dcdb7a396fc1cf477725b.zip
bpf: Add loop test case with 32 bit reg comparison against 0
Add a loop test with 32 bit register against 0 immediate: # ./test_verifier 631 #631/p taken loop with back jump to 1st insn, 2 OK Disassembly: [...] 1b: test %edi,%edi 1d: jne 0x0000000000000014 [...] Pretty much similar to prior "taken loop with back jump to 1st insn" test case just as jmp32 variant. Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> Signed-off-by: Alexei Starovoitov <ast@kernel.org> Acked-by: Song Liu <songliubraving@fb.com>
Diffstat (limited to 'Documentation/locking')
0 files changed, 0 insertions, 0 deletions