]> Git Repo - linux.git/commit
perf/x86: Fix Userspace RDPMC switch
authorPeter Zijlstra <[email protected]>
Wed, 5 Feb 2014 10:19:56 +0000 (11:19 +0100)
committerIngo Molnar <[email protected]>
Sun, 9 Feb 2014 12:08:25 +0000 (13:08 +0100)
commit0e9f2204cfa6d79abe3e525ddf7c4ab5792cc751
tree5024f0c05df026a22ad5f4dbd98402bc4d7e995e
parente97df76377b8b3b1f7dfd5d6f8a1d5a31438b140
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 <[email protected]>
Suggested-by: Mark Davies <[email protected]>
Signed-off-by: Peter Zijlstra <[email protected]>
Cc: [email protected]
Link: http://lkml.kernel.org/n/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
arch/x86/kernel/cpu/perf_event.c
This page took 0.055655 seconds and 4 git commands to generate.