aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wwan/iosm/iosm_ipc_mux.c
diff options
context:
space:
mode:
authorKumar Kartikeya Dwivedi <memxor@gmail.com>2021-11-23 05:27:33 +0530
committerAndrii Nakryiko <andrii@kernel.org>2021-11-30 15:48:15 -0800
commitd995816b77eb826e0f6d7adf4471ec191b362be0 (patch)
treef9e3218358a518f12f76acc5765fd6af95ef4cbd /drivers/net/wwan/iosm/iosm_ipc_mux.c
parentlibbpf: Avoid double stores for success/failure case of ksym relocations (diff)
downloadlinux-rng-d995816b77eb826e0f6d7adf4471ec191b362be0.tar.xz
linux-rng-d995816b77eb826e0f6d7adf4471ec191b362be0.zip
libbpf: Avoid reload of imm for weak, unresolved, repeating ksym
Alexei pointed out that we can use BPF_REG_0 which already contains imm from move_blob2blob computation. Note that we now compare the second insn's imm, but this should not matter, since both will be zeroed out for the error case for the insn populated earlier. Suggested-by: Alexei Starovoitov <ast@kernel.org> Signed-off-by: Kumar Kartikeya Dwivedi <memxor@gmail.com> Signed-off-by: Andrii Nakryiko <andrii@kernel.org> Acked-by: Song Liu <songliubraving@fb.com> Link: https://lore.kernel.org/bpf/20211122235733.634914-4-memxor@gmail.com
Diffstat (limited to 'drivers/net/wwan/iosm/iosm_ipc_mux.c')
0 files changed, 0 insertions, 0 deletions