diff options
author | Jeremy Fitzhardinge <jeremy@goop.org> | 2008-07-07 15:07:52 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-07-16 05:15:53 -0400 |
commit | 56397f8dadb40055479a8ffff23f21a890098a31 (patch) | |
tree | be682521f99ebd1233435ac0b0416a1439987846 /arch/x86/xen | |
parent | 8efcbab674de2bee45a2e4cdf97de16b8e609ac8 (diff) |
xen: use lock-byte spinlock implementation
Switch to using the lock-byte spinlock implementation, to avoid the
worst of the performance hit from ticket locks.
Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Cc: Jens Axboe <axboe@kernel.dk>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Christoph Lameter <clameter@linux-foundation.org>
Cc: Petr Tesarik <ptesarik@suse.cz>
Cc: Virtualization <virtualization@lists.linux-foundation.org>
Cc: Xen devel <xen-devel@lists.xensource.com>
Cc: Thomas Friebel <thomas.friebel@amd.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/xen')
-rw-r--r-- | arch/x86/xen/smp.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/xen/smp.c b/arch/x86/xen/smp.c index f702199312a5..a8ebafc09d47 100644 --- a/arch/x86/xen/smp.c +++ b/arch/x86/xen/smp.c | |||
@@ -430,4 +430,5 @@ void __init xen_smp_init(void) | |||
430 | { | 430 | { |
431 | smp_ops = xen_smp_ops; | 431 | smp_ops = xen_smp_ops; |
432 | xen_fill_possible_map(); | 432 | xen_fill_possible_map(); |
433 | paravirt_use_bytelocks(); | ||
433 | } | 434 | } |