Messages in this thread | | | Date | Mon, 10 Nov 2014 20:50:31 +0000 | From | Matt Fleming <> | Subject | Re: [PATCH v3 10/11] perf/x86/intel: Perform rotation on Intel CQM RMIDs |
| |
On Fri, 07 Nov, at 01:18:03PM, Peter Zijlstra wrote: > On Thu, Nov 06, 2014 at 12:23:21PM +0000, Matt Fleming wrote: > > + /* > > + * Test whether an RMID is free for each package. > > + */ > > + preempt_disable(); > > + smp_call_function_many(&cqm_cpumask, intel_cqm_stable, NULL, true); > > + preempt_enable(); > > Same problem again, the current cpu is not included. > > Ah, just found we have on_each_cpu_mask(), which is what you want.
Aha, yes, that looks useful. Thanks!
-- Matt Fleming, Intel Open Source Technology Center
| |