summaryrefslogtreecommitdiff
path: root/include/uapi/linux/errqueue.h
diff options
context:
space:
mode:
authorAndrii Nakryiko <andrii@kernel.org>2023-11-02 06:37:56 +0300
committerAlexei Starovoitov <ast@kernel.org>2023-11-10 05:58:40 +0300
commitb74c2a842bba941945279027083fcee1e9aaa73f (patch)
treeb74a08de9ced5f5a686a7cbf080296652d03421b /include/uapi/linux/errqueue.h
parentc697289efe4ef38bc5c62f119cb74433f784b826 (diff)
downloadlinux-b74c2a842bba941945279027083fcee1e9aaa73f.tar.xz
bpf: generalize is_branch_taken to handle all conditional jumps in one place
Make is_branch_taken() a single entry point for branch pruning decision making, handling both pointer vs pointer, pointer vs scalar, and scalar vs scalar cases in one place. This also nicely cleans up check_cond_jmp_op(). Acked-by: Eduard Zingerman <eddyz87@gmail.com> Signed-off-by: Andrii Nakryiko <andrii@kernel.org> Link: https://lore.kernel.org/r/20231102033759.2541186-15-andrii@kernel.org Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'include/uapi/linux/errqueue.h')
0 files changed, 0 insertions, 0 deletions