diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2020-02-24 15:01:39 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-10-01 13:12:35 +0200 |
commit | 25b3f09cef1e03c5257945280f0edf6a61d41296 (patch) | |
tree | d23c02442e02c497380b603797405b5e351b1871 /drivers/gpu/drm/amd/amdgpu/atom.c | |
parent | 6c71f82c25ac40b386a9e6a97bf2e94aa36e9eb4 (diff) |
bpf: Remove recursion prevention from rcu free callback
[ Upstream commit 8a37963c7ac9ecb7f86f8ebda020e3f8d6d7b8a0 ]
If an element is freed via RCU then recursion into BPF instrumentation
functions is not a concern. The element is already detached from the map
and the RCU callback does not hold any locks on which a kprobe, perf event
or tracepoint attached BPF program could deadlock.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Link: https://lore.kernel.org/bpf/20200224145643.259118710@linutronix.de
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/atom.c')
0 files changed, 0 insertions, 0 deletions