lkml.org 
[lkml]   [2008]   [Jul]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
DateMon, 07 Jul 2008 12:07:52 -0700
FromJeremy Fitzhardinge <>
Subject[PATCH RFC 3/4] 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: Thomas Friebel <thomas.friebel@amd.com>
---
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();
}
--



\
 
 \ /
  Last update: 2008-07-07 21:29    [from the cache]
©2003-2010