[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH v7 01/14] x86: add socket_to_cpumask



>>> On 20.05.15 at 05:13, <chao.p.peng@xxxxxxxxxxxxxxx> wrote:
> I do have a problem when coming up with the final codes, there are two
> possible ways:
> 1)  Make both num_processors and disabled_cpus public so that they can
> be used when calculating nr_sockets.
> 2)  Add another public function set_nr_sockets in mpparse.c (just like
> set_nr_cpu_ids does).
> 
> Which do you prefer?

The latter.

Jan


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.