Re: [Xen-devel] [PATCH v3] xen: sched_rt: print useful affinity info when dumping

2015-04-21 Thread Dario Faggioli
First of all, for the ones that received multiple copies of the patch, sorry... my bad letting my fingers slip while composing the `stg mail' command :-/ On Tue, 2015-04-21 at 17:22 +0200, Dario Faggioli wrote: > In fact, printing the cpupool's CPU online mask > for each vCPU is just redundant, as

Re: [Xen-devel] [PATCH v3] xen: sched_rt: print useful affinity info when dumping

2015-04-21 Thread Jan Beulich
>>> On 21.04.15 at 17:22, wrote: > @@ -409,6 +435,15 @@ rt_init(struct scheduler *ops) > if ( prv == NULL ) > return -ENOMEM; > > +ASSERT( !_cpumask_scratch || nr_rt_ops > 0 ); > + > +if ( !_cpumask_scratch ) { Coding style. > +_cpumask_scratch = xmalloc_array(cpu

[Xen-devel] [PATCH v3] xen: sched_rt: print useful affinity info when dumping

2015-04-21 Thread Dario Faggioli
In fact, printing the cpupool's CPU online mask for each vCPU is just redundant, as that is the same for all the vCPUs of all the domains in the same cpupool, while hard affinity is already part of the output of dumping domains info. Instead, print the intersection between hard affinity and online