[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCHv3 3/4] xen: use ticket locks for spin locks
On 23/04/15 12:58, Jan Beulich wrote: > >> +typedef union { >> + u32 head_tail; >> + struct { >> + u16 head; >> + u16 tail; >> + }; >> +} spinlock_tickets_t; >> + >> typedef struct spinlock { >> - raw_spinlock_t raw; >> + spinlock_tickets_t tickets; > > At least for x86 this means a growth of this and hence various > other structures - did you examine the effects thereof? Of > course otoh getting the lock size uniform across architectures > is a good thing. I've not looked. Are there any structures whose size you're particularly concerned about? David _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |