diff options
author | kfraser@localhost.localdomain <kfraser@localhost.localdomain> | 2007-03-27 16:35:37 +0100 |
---|---|---|
committer | kfraser@localhost.localdomain <kfraser@localhost.localdomain> | 2007-03-27 16:35:37 +0100 |
commit | bd776061a1a0e119d997b24be7fbf4bcd7603d95 (patch) | |
tree | 11f24760a1031f992c8e9de18147b05c32a58b12 /xen/arch/x86/smp.c | |
parent | 5893fef229ab62a3da1d437f61313f53a208370a (diff) | |
download | xen-bd776061a1a0e119d997b24be7fbf4bcd7603d95.tar.gz xen-bd776061a1a0e119d997b24be7fbf4bcd7603d95.tar.bz2 xen-bd776061a1a0e119d997b24be7fbf4bcd7603d95.zip |
xen: Make all performance counter per-cpu, avoiding the need to update
them with atomic (locked) ops.
Conversion here isn't complete in the sense that many places still use
the old per-CPU accessors (which are now redundant). Since the patch
is already rather big, I'd prefer replacing those in a subsequent
patch.
While doing this, I also converted x86's multicall macros to no longer
require inclusion of asm-offsets.h in the respective C file (on IA64
the use of asm-offsets.h in C sources seems more wide spread, hence
there I rather used IA64_ prefixes for the otherwise conflicting
performance counter indices).
On x86, a few counter increments get moved a little, to avoid
duplicate counting of preempted hypercalls.
Also, a few counters are being added.
IA64 changes only compile-tested, hence somebody doing active IA64
work may want to have a close look at those changes.
Signed-off-by: Jan Beulich <jbeulich@novell.com>
Diffstat (limited to 'xen/arch/x86/smp.c')
0 files changed, 0 insertions, 0 deletions