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.
Best regards, Pavel