Re: [Xen-devel] [PATCHv1 6/6] evtchn: pad struct evtchn to 64 bytes

2015-06-10 Thread Jan Beulich
>>> On 09.06.15 at 16:59, wrote: > --- a/xen/include/xen/sched.h > +++ b/xen/include/xen/sched.h > @@ -110,8 +110,8 @@ struct evtchn > u8 priority; > u8 last_priority; > u16 last_vcpu_id; > -#ifdef XSM_ENABLE > union { > +#ifdef XSM_ENABLE > #ifdef XSM_NEED_GENERIC_EVTCHN_SSID

[Xen-devel] [PATCHv1 6/6] evtchn: pad struct evtchn to 64 bytes

2015-06-09 Thread David Vrabel
The number of struct evtchn in a page must be a power of two. Under some workloads performance is improved slightly by padding struct evtchn to 64 bytes (a cache line), thus putting the per-channel locks into their own cache line. This does not decrease the number of struct evtchn's per-page. Si