perf/bpf: Remove preempt disable around BPF invocation
authorThomas Gleixner <tglx@linutronix.de>
Mon, 24 Feb 2020 14:01:38 +0000 (15:01 +0100)
committerAlexei Starovoitov <ast@kernel.org>
Tue, 25 Feb 2020 00:18:20 +0000 (16:18 -0800)
commit1d7bf6b7d3e8353c3fac648f3f9b3010458570c2
tree78fa90b9a7793a15078ea197fc19afb96539e356
parentb0a81b94cc50a112601721fcc2f91fab78d7b9f3
perf/bpf: Remove preempt disable around BPF invocation

The BPF invocation from the perf event overflow handler does not require to
disable preemption because this is called from NMI or at least hard
interrupt context which is already non-preemptible.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Link: https://lore.kernel.org/bpf/20200224145643.151953573@linutronix.de
kernel/events/core.c