[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] RE: [Xen-devel] Ticket spinlocks and MP guests
>From: Keir Fraser >Sent: 2008年2月14日 23:24 > >On 14/2/08 13:43, "Espen Skoglund" ><espen.skoglund@xxxxxxxxxxxxx> wrote: > >> Do people feel that the new ticket spinlocks should raise any >> concerns, or do typical Xen SMP guest workloads remain largely >> unaffected by the new locking scheme? > >That's a good question which I do not think can be answered >without taking >some measurements. If it's an issue we might consider pv_ops'ifying >spinlocks to turn them into sleeping locks (this would be easy >these days, >since spin_lock() and spin_unlock() are not inlined). I have >some neat ideas >about how that might work requiring no extra space for >spinlock_t and no >modifications at the hypervisor interface. > >I suppose it depends whether there are any hot spinlocks in >the kernel these >days. I know things have improved a lot in recent years with >things like >RCU. Most spinlock regions are now pretty short. > The side effect is to enlarge average critical section length, if most spinlock regions are pretty short. Thanks, Kevin _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |