]> git.karo-electronics.de Git - karo-tx-linux.git/commit
[PATCH] i386: Fix K8/core2 oprofile on multiple CPUs
authorAndi Kleen <ak@suse.de>
Mon, 21 May 2007 12:31:45 +0000 (14:31 +0200)
committerWilly Tarreau <w@1wt.eu>
Wed, 15 Aug 2007 08:02:20 +0000 (10:02 +0200)
commit5c648b32393875e46f767405eb41911a149eb008
treeda034981d28e36c012598274e2265c6fbbc9302b
parentcd4a337ed99dc212ce396b319f96d3e867a816f9
[PATCH] i386: Fix K8/core2 oprofile on multiple CPUs

Only try to allocate MSRs once instead of for every CPU.

This assumes the MSRs are the same on all CPUs which is currently
true. P4-HT is a special case for different SMT threads, but the code
always saves/restores all MSRs so it works identical.

Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Chris Wright <chrisw@sous-sol.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
arch/i386/oprofile/nmi_int.c