diff options
| author | Thomas Gleixner <[email protected]> | 2015-05-19 00:00:53 +0000 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2015-05-27 09:17:39 +0200 |
| commit | 9e7eaac95af6c1aecaf558b8c7a1757d5f2d2ad7 (patch) | |
| tree | d65979f6cc8bafb690f3ade90759ec5f0ee417b9 /tools/perf/scripts/python | |
| parent | b3df4ec4424f27e55d754cfe586195fecca1c4e4 (diff) | |
perf/x86/intel/cqm: Remove pointless spinlock from state cache
'struct intel_cqm_state' is a strict per CPU cache of the rmid and the
usage counter. It can never be modified from a remote CPU.
The three functions which modify the content: intel_cqm_event[start|stop|del]
(del maps to stop) are called from the perf core with interrupts disabled
which is enough protection for the per CPU state values.
Signed-off-by: Thomas Gleixner <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Acked-by: Matt Fleming <[email protected]>
Cc: Kanaka Juvva <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Vikas Shivappa <[email protected]>
Cc: Will Auld <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions