commit | 0e9f2204cfa6d79abe3e525ddf7c4ab5792cc751 | [log] [tgz] |
---|---|---|
author | Peter Zijlstra <peterz@infradead.org> | Wed Feb 05 11:19:56 2014 +0100 |
committer | Ingo Molnar <mingo@kernel.org> | Sun Feb 09 13:08:25 2014 +0100 |
tree | 5024f0c05df026a22ad5f4dbd98402bc4d7e995e | |
parent | e97df76377b8b3b1f7dfd5d6f8a1d5a31438b140 [diff] |
perf/x86: Fix Userspace RDPMC switch The current code forgets to change the CR4 state on the current CPU. Use on_each_cpu() instead of smp_call_function(). Reported-by: Mark Davies <junk@eslaf.co.uk> Suggested-by: Mark Davies <junk@eslaf.co.uk> Signed-off-by: Peter Zijlstra <peterz@infradead.org> Cc: fweisbec@gmail.com Link: http://lkml.kernel.org/n/tip-69efsat90ibhnd577zy3z9gh@git.kernel.org Signed-off-by: Ingo Molnar <mingo@kernel.org>