lkml.org 
[lkml]   [2014]   [Nov]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v3 10/11] perf/x86/intel: Perform rotation on Intel CQM RMIDs
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.


\
 
 \ /
  Last update: 2014-11-07 13:41    [W:0.122 / U:0.236 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site