Re: [Xen-devel] [PATCH 2/2] xen: fill topology info for online cpus only

2018-08-30 Thread Juergen Gross
On 30/08/18 10:43, Jan Beulich wrote: On 30.08.18 at 10:31, wrote: >> On 30/08/18 10:16, Jan Beulich wrote: >> On 29.08.18 at 20:23, wrote: The topology information obtainable via XEN_SYSCTL_cputopoinfo is filled rather weird: the size of the array is derived from the highest >

Re: [Xen-devel] [PATCH 2/2] xen: fill topology info for online cpus only

2018-08-30 Thread Juergen Gross
On 30/08/18 10:44, Jan Beulich wrote: On 30.08.18 at 10:37, wrote: >> On Thu, Aug 30, 2018 at 10:31:16AM +0200, Juergen Gross wrote: >>> On 30/08/18 10:16, Jan Beulich wrote: >>> On 29.08.18 at 20:23, wrote: > The topology information obtainable via XEN_SYSCTL_cputopoinfo is > fi

Re: [Xen-devel] [PATCH 2/2] xen: fill topology info for online cpus only

2018-08-30 Thread Jan Beulich
>>> On 30.08.18 at 10:37, wrote: > On Thu, Aug 30, 2018 at 10:31:16AM +0200, Juergen Gross wrote: >> On 30/08/18 10:16, Jan Beulich wrote: >> On 29.08.18 at 20:23, wrote: >> >> The topology information obtainable via XEN_SYSCTL_cputopoinfo is >> >> filled rather weird: the size of the array

Re: [Xen-devel] [PATCH 2/2] xen: fill topology info for online cpus only

2018-08-30 Thread Jan Beulich
>>> On 30.08.18 at 10:31, wrote: > On 30/08/18 10:16, Jan Beulich wrote: > On 29.08.18 at 20:23, wrote: >>> The topology information obtainable via XEN_SYSCTL_cputopoinfo is >>> filled rather weird: the size of the array is derived from the highest >>> online cpu number, while the data is set

Re: [Xen-devel] [PATCH 2/2] xen: fill topology info for online cpus only

2018-08-30 Thread Wei Liu
On Thu, Aug 30, 2018 at 10:31:16AM +0200, Juergen Gross wrote: > On 30/08/18 10:16, Jan Beulich wrote: > On 29.08.18 at 20:23, wrote: > >> The topology information obtainable via XEN_SYSCTL_cputopoinfo is > >> filled rather weird: the size of the array is derived from the highest > >> online

Re: [Xen-devel] [PATCH 2/2] xen: fill topology info for online cpus only

2018-08-30 Thread Juergen Gross
On 30/08/18 10:16, Jan Beulich wrote: On 29.08.18 at 20:23, wrote: >> The topology information obtainable via XEN_SYSCTL_cputopoinfo is >> filled rather weird: the size of the array is derived from the highest >> online cpu number, while the data is set to "invalid" for not present >> cpus on

Re: [Xen-devel] [PATCH 2/2] xen: fill topology info for online cpus only

2018-08-30 Thread Jan Beulich
>>> On 29.08.18 at 20:23, wrote: > The topology information obtainable via XEN_SYSCTL_cputopoinfo is > filled rather weird: the size of the array is derived from the highest > online cpu number, while the data is set to "invalid" for not present > cpus only. > > With smt=0 the information for par

Re: [Xen-devel] [PATCH 2/2] xen: fill topology info for online cpus only

2018-08-30 Thread Wei Liu
On Thu, Aug 30, 2018 at 08:48:40AM +0100, Wei Liu wrote: > On Wed, Aug 29, 2018 at 08:23:02PM +0200, Juergen Gross wrote: > > The topology information obtainable via XEN_SYSCTL_cputopoinfo is > > filled rather weird: the size of the array is derived from the highest > > online cpu number, while the

Re: [Xen-devel] [PATCH 2/2] xen: fill topology info for online cpus only

2018-08-30 Thread Wei Liu
On Wed, Aug 29, 2018 at 08:23:02PM +0200, Juergen Gross wrote: > The topology information obtainable via XEN_SYSCTL_cputopoinfo is > filled rather weird: the size of the array is derived from the highest > online cpu number, while the data is set to "invalid" for not present > cpus only. > > With

[Xen-devel] [PATCH 2/2] xen: fill topology info for online cpus only

2018-08-29 Thread Juergen Gross
The topology information obtainable via XEN_SYSCTL_cputopoinfo is filled rather weird: the size of the array is derived from the highest online cpu number, while the data is set to "invalid" for not present cpus only. With smt=0 the information for parked threads is all zero, so it should be best