Will Deacon <will.dea...@arm.com> writes: > A little bit of digging suggests that the preempt count isn't balanced > across the call to perf_pmu_output_stop from perf_mmap_close. Further > digging revealed the unbalanced get_cpu_ptr in __perf_pmu_output_stop. > Fix below!
Oh gee, that's embarrassing. Thanks! > This patch uses this_cpu_ptr instead of get_cpu_ptr, since preemption is > already disabled by the caller. > > Fixes: 95ff4ca26c49 ("perf/core: Free AUX pages in unmap path") > Cc: Alexander Shishkin <alexander.shish...@linux.intel.com> > Cc: Peter Zijlstra <pet...@infradead.org> > Signed-off-by: Will Deacon <will.dea...@arm.com> Reviewed-by: Alexander Shishkin <alexander.shish...@linux.intel.com> Regards, -- Alex