[PATCH 3.18 112/144] perf: Fix PERF_EVENT_IOC_PERIOD deadlock