On Fri, Feb 04, 2022 at 10:37:35AM +0100, Pavel Machek wrote:
Hi!
From: Peter Zijlstra peterz@infradead.org
commit ef54c1a476aef7eef26fe13ea10dc090952c00f8 upstream.
Make perf_event_exit_event() more robust, such that we can use it from other contexts. Specifically the up and coming remove_on_exec.
Do we need this in 5.10? AFAICT the remove_on_exec work is not queued for 5.10, and this patch is buggy and needs following one to fix it up.
It's needed by the following patch, which says 5.10 is affected.