Re: [Xen-devel] [PATCH v10 01/13] x86: add socket_cpumask

2015-07-08 Thread Jan Beulich
>>> On 08.07.15 at 04:43, wrote: > On Tue, Jul 07, 2015 at 06:32:55PM -0400, Boris Ostrovsky wrote: >> >@@ -245,6 +248,8 @@ static void set_cpu_sibling_map(int cpu) >> > cpumask_set_cpu(cpu, &cpu_sibling_setup_map); >> >+cpumask_set_cpu(cpu, socket_cpumask[cpu_to_socket(cpu)]); >> >> Thi

Re: [Xen-devel] [PATCH v10 01/13] x86: add socket_cpumask

2015-07-07 Thread Chao Peng
On Tue, Jul 07, 2015 at 06:32:55PM -0400, Boris Ostrovsky wrote: > On 06/26/2015 04:43 AM, Chao Peng wrote: > >Maintain socket_cpumask which contains all the HT and core siblings > >in the same socket. > > > >Signed-off-by: Chao Peng > >Acked-by: Jan Beulich > >--- > >Changes in v9: > >* Add comm

Re: [Xen-devel] [PATCH v10 01/13] x86: add socket_cpumask

2015-07-07 Thread Boris Ostrovsky
On 06/26/2015 04:43 AM, Chao Peng wrote: Maintain socket_cpumask which contains all the HT and core siblings in the same socket. Signed-off-by: Chao Peng Acked-by: Jan Beulich --- Changes in v9: * Add comments for set_nr_sockets. * Move set_nr_sockets() invocation from __start_xen() to smp_pre

[Xen-devel] [PATCH v10 01/13] x86: add socket_cpumask

2015-06-26 Thread Chao Peng
Maintain socket_cpumask which contains all the HT and core siblings in the same socket. Signed-off-by: Chao Peng Acked-by: Jan Beulich --- Changes in v9: * Add comments for set_nr_sockets. * Move set_nr_sockets() invocation from __start_xen() to smp_prepare_cpus(). Changes in v8: * Remove total_