Re: [PATCH 6/7] perf: Centralise context pmu disabling

2014-02-10 Thread Peter Zijlstra
On Mon, Feb 10, 2014 at 05:44:23PM +, Mark Rutland wrote: > Commit 443772776c69 (perf: Disable all pmus on unthrottling and > rescheduling) identified an issue with having multiple PMUs sharing a > perf_event_context, but only partially solved the issue. > > While ctx::pmu will be disabled

[PATCH 6/7] perf: Centralise context pmu disabling

2014-02-10 Thread Mark Rutland
Commit 443772776c69 (perf: Disable all pmus on unthrottling and rescheduling) identified an issue with having multiple PMUs sharing a perf_event_context, but only partially solved the issue. While ctx::pmu will be disabled across all of its events being scheduled, pmus which are not ctx::pmu will

[PATCH 6/7] perf: Centralise context pmu disabling

2014-02-10 Thread Mark Rutland
Commit 443772776c69 (perf: Disable all pmus on unthrottling and rescheduling) identified an issue with having multiple PMUs sharing a perf_event_context, but only partially solved the issue. While ctx::pmu will be disabled across all of its events being scheduled, pmus which are not ctx::pmu will

Re: [PATCH 6/7] perf: Centralise context pmu disabling

2014-02-10 Thread Peter Zijlstra
On Mon, Feb 10, 2014 at 05:44:23PM +, Mark Rutland wrote: Commit 443772776c69 (perf: Disable all pmus on unthrottling and rescheduling) identified an issue with having multiple PMUs sharing a perf_event_context, but only partially solved the issue. While ctx::pmu will be disabled across