[PATCH RFC 3/4] xen: use lock-byte spinlock implementation

From: Jeremy Fitzhardinge
Date: Mon Jul 07 2008 - 15:27:23 EST


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@xxxxxxxxxx>
Cc: Thomas Friebel <thomas.friebel@xxxxxxx>
---
arch/x86/xen/smp.c | 1 +
1 file changed, 1 insertion(+)

===================================================================
--- a/arch/x86/xen/smp.c
+++ b/arch/x86/xen/smp.c
@@ -430,4 +430,5 @@
{
smp_ops = xen_smp_ops;
xen_fill_possible_map();
+ paravirt_use_bytelocks();
}

--

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/