On 27/09/2018 21:15, Andi Kleen wrote:
+ 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?
There is a hunk a bit low
> + 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
2 matches
Mail list logo