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@lists.xen.org
http://lists.xen.org/xen-devel

Reply via email to