Skip to content
Commit 0e9f2204 authored by Peter Zijlstra's avatar Peter Zijlstra Committed by Ingo Molnar
Browse files

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: default avatarMark Davies <junk@eslaf.co.uk>
Suggested-by: default avatarMark Davies <junk@eslaf.co.uk>
Signed-off-by: default avatarPeter Zijlstra <peterz@infradead.org>
Cc: fweisbec@gmail.com
Link: http://lkml.kernel.org/n/tip-69efsat90ibhnd577zy3z9gh@git.kernel.org


Signed-off-by: default avatarIngo Molnar <mingo@kernel.org>
parent e97df763
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment