]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit4299874e80c8aa6dab5f19b8b5995be10ad3743a
tree78fa90b9a7793a15078ea197fc19afb96539e356
parentcb0b3eef5c09ed3897c323b53d904d0460657a60
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