[PATCH 5.9 117/757] perf/core: Fix race in the perf_mmap_close() function