WSL2-Linux-Kernel/arch
Hou Tao b6ec79518e bpf, x86: Remove unnecessary handling of BPF_SUB atomic op
According to the LLVM commit (https://reviews.llvm.org/D72184),
sync_fetch_and_sub() is implemented as a negation followed by
sync_fetch_and_add(), so there will be no BPF_SUB op, thus just
remove it. BPF_SUB is also rejected by the verifier anyway.

Signed-off-by: Hou Tao <houtao1@huawei.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Brendan Jackman <jackmanb@google.com>
Link: https://lore.kernel.org/bpf/20220127083240.1425481-1-houtao1@huawei.com
2022-01-27 22:47:05 +01:00
..
alpha Merge branch 'signal-for-v5.17' of git://git.kernel.org/pub/scm/linux/kernel/git/ebiederm/user-namespace 2022-01-17 05:49:30 +02:00
arc Kbuild updates for v5.17 2022-01-19 11:15:19 +02:00
arm Kbuild updates for v5.17 2022-01-19 11:15:19 +02:00
arm64 Merge branch 'akpm' (patches from Andrew) 2022-01-20 10:41:01 +02:00
csky Merge branch 'signal-for-v5.17' of git://git.kernel.org/pub/scm/linux/kernel/git/ebiederm/user-namespace 2022-01-17 05:49:30 +02:00
h8300 Kbuild updates for v5.17 2022-01-19 11:15:19 +02:00
hexagon Merge branch 'signal-for-v5.17' of git://git.kernel.org/pub/scm/linux/kernel/git/ebiederm/user-namespace 2022-01-17 05:49:30 +02:00
ia64 Merge branch 'akpm' (patches from Andrew) 2022-01-20 10:41:01 +02:00
m68k Merge branch 'signal-for-v5.17' of git://git.kernel.org/pub/scm/linux/kernel/git/ebiederm/user-namespace 2022-01-17 05:49:30 +02:00
microblaze Kbuild updates for v5.17 2022-01-19 11:15:19 +02:00
mips Merge branch 'akpm' (patches from Andrew) 2022-01-20 10:41:01 +02:00
nds32 Kbuild updates for v5.17 2022-01-19 11:15:19 +02:00
nios2 Kbuild updates for v5.17 2022-01-19 11:15:19 +02:00
openrisc Kbuild updates for v5.17 2022-01-19 11:15:19 +02:00
parisc Kbuild updates for v5.17 2022-01-19 11:15:19 +02:00
powerpc Networking fixes for 5.17-rc1, including fixes from netfilter, bpf. 2022-01-20 10:57:05 +02:00
riscv Merge branch 'akpm' (patches from Andrew) 2022-01-20 10:41:01 +02:00
s390 Kbuild updates for v5.17 2022-01-19 11:15:19 +02:00
sh Kbuild updates for v5.17 2022-01-19 11:15:19 +02:00
sparc Merge branch 'akpm' (patches from Andrew) 2022-01-20 10:41:01 +02:00
um virtio,vdpa,qemu_fw_cfg: features, cleanups, fixes 2022-01-18 10:05:48 +02:00
x86 bpf, x86: Remove unnecessary handling of BPF_SUB atomic op 2022-01-27 22:47:05 +01:00
xtensa Kbuild updates for v5.17 2022-01-19 11:15:19 +02:00
.gitignore
Kconfig Merge branch 'akpm' (patches from Andrew) 2022-01-20 10:41:01 +02:00