aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_queue_mgr.c
diff options
context:
space:
mode:
authorAlexei Starovoitov <[email protected]>2017-11-30 21:31:39 -0800
committerDaniel Borkmann <[email protected]>2017-12-01 11:25:10 +0100
commit3bf15921c58df982f9b15d64754c483785bf66f3 (patch)
treee1cd41a7e3540de48e922412481a58451188fcbf /drivers/gpu/drm/amd/amdgpu/amdgpu_queue_mgr.c
parent2f18f62ee1648b2c93e6ab4a58d548010b0a67e4 (diff)
bpf: improve JEQ/JNE path walking
verifier knows how to trim paths that are known not to be taken at run-time when register containing run-time constant is compared with another constant. It was done only for JEQ comparison. Extend it to include JNE as well. More cases can be added in the future. before after bpf_lb-DLB_L3.o 2270 2051 bpf_lb-DLB_L4.o 3682 3287 bpf_lb-DUNKNOWN.o 1110 1080 bpf_lxc-DDROP_ALL.o 27876 24980 bpf_lxc-DUNKNOWN.o 38780 34308 bpf_netdev.o 16937 15404 bpf_overlay.o 7929 7191 Signed-off-by: Alexei Starovoitov <[email protected]> Acked-by: John Fastabend <[email protected]> Acked-by: Daniel Borkmann <[email protected]> Signed-off-by: Daniel Borkmann <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_queue_mgr.c')
0 files changed, 0 insertions, 0 deletions