Re: [RFC 3/5] perf: Allow per PMU access control
From: Andi Kleen
Date: Thu Sep 27 2018 - 16:16:15 EST
> + mutex_lock(&pmus_lock);
> + list_for_each_entry(pmu, &pmus, entry)
> + pmu->perf_event_paranoid = sysctl_perf_event_paranoid;
> + mutex_unlock(&pmus_lock);
What happens to pmus that got added later?
The rest looks good.
Can you post a non RFC version?
-Andi