[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Xen-devel] [PATCH v7 01/14] x86: add socket_to_cpumask
- To: "Chao Peng" <chao.p.peng@xxxxxxxxxxxxxxx>
- From: "Jan Beulich" <JBeulich@xxxxxxxx>
- Date: Wed, 20 May 2015 10:00:13 +0100
- Cc: wei.liu2@xxxxxxxxxx, Ian.Campbell@xxxxxxxxxx, stefano.stabellini@xxxxxxxxxxxxx, andrew.cooper3@xxxxxxxxxx, Ian.Jackson@xxxxxxxxxxxxx, xen-devel@xxxxxxxxxxxxx, will.auld@xxxxxxxxx, keir@xxxxxxx, dgdegra@xxxxxxxxxxxxx
- Delivery-date: Wed, 20 May 2015 09:00:20 +0000
- List-id: Xen developer discussion <xen-devel.lists.xen.org>
>>> 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
|