diff options
author | Daniel Borkmann <daniel@iogearbox.net> | 2019-04-26 21:48:21 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-05-22 07:37:38 +0200 |
commit | 1bfceb375034f7f3222c49e3fbe5bfe820bdcba0 (patch) | |
tree | 0c410717d81ff7ca5d2d8cea2b1c284d1539e53b /sound/aoa | |
parent | f3714257c4220d45f60bf247b6f5550b3afc476e (diff) | |
download | linux-rpi3-1bfceb375034f7f3222c49e3fbe5bfe820bdcba0.tar.gz linux-rpi3-1bfceb375034f7f3222c49e3fbe5bfe820bdcba0.tar.bz2 linux-rpi3-1bfceb375034f7f3222c49e3fbe5bfe820bdcba0.zip |
bpf, arm64: remove prefetch insn in xadd mapping
commit 8968c67a82ab7501bc3b9439c3624a49b42fe54c upstream.
Prefetch-with-intent-to-write is currently part of the XADD mapping in
the AArch64 JIT and follows the kernel's implementation of atomic_add.
This may interfere with other threads executing the LDXR/STXR loop,
leading to potential starvation and fairness issues. Drop the optional
prefetch instruction.
Fixes: 85f68fe89832 ("bpf, arm64: implement jiting of BPF_XADD")
Reported-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Jean-Philippe Brucker <jean-philippe.brucker@arm.com>
Acked-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'sound/aoa')
0 files changed, 0 insertions, 0 deletions