aboutsummaryrefslogtreecommitdiff
path: root/arch/powerpc/net/bpf_jit_comp.c
diff options
context:
space:
mode:
authorChristophe Leroy <[email protected]>2022-05-09 07:36:02 +0200
committerMichael Ellerman <[email protected]>2022-05-19 23:11:28 +1000
commita1facd2578b312770aaea384adc7de0ed3f543d1 (patch)
tree755a83b6b97cb2095779e5bcd2a672b5363a2128 /arch/powerpc/net/bpf_jit_comp.c
parent1acbf27e8a5843911d122ad0008e79ec5f7b6382 (diff)
powerpc/ftrace: Use is_offset_in_branch_range()
Use is_offset_in_branch_range() instead of create_branch() to check if a target is within branch range. This patch together with the previous one improves ftrace activation time by 7% Signed-off-by: Christophe Leroy <[email protected]> Signed-off-by: Michael Ellerman <[email protected]> Link: https://lore.kernel.org/r/912ae51782f5a53c44e435497c8c3fb5cc632387.1652074503.git.christophe.leroy@csgroup.eu
Diffstat (limited to 'arch/powerpc/net/bpf_jit_comp.c')
0 files changed, 0 insertions, 0 deletions