WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Xen

xen-devel

[Top] [All Lists]

Re: [Xen-devel] [PATCH] initialize some more cpuinfo fields

To: "Jan Beulich" <jbeulich@xxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH] initialize some more cpuinfo fields
From: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Date: Mon, 8 May 2006 15:36:42 +0100
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: 2006年5月08日 07:37:03 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <445F6F4B.76E4.0078.0@xxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <445F5F50.76E4.0078.0@xxxxxxxxxx> <bcc309c7d46b56fc31e28c806eacd0c1@xxxxxxxxxxxx> <445F6F4B.76E4.0078.0@xxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
On 8 May 2006, at 15:18, Jan Beulich wrote:
If the many-core appearance is a problem then we could synthesise
different physical IDs for VCPUs (probably by forcing physical ID to
VCPU number).
This is what the patch does (it simply overrides whatever identify_cpu() provided).
Why add the copy from boot_cpu_data, or the call to identify_cpu(), at all? We already initialise the cpu_data in smp_prepare_cpus(), and we set up the cpu_to_apicid array at the same time. Why not lie about cpu_data->apicid, and set phys_proc_id[cpu], at the same time in the same function? That would be a one- or two-liner, plus maybe your modification of booted_cores if that's still needed.
 -- Keir
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
Previous by Date: Re: [Xen-devel] [PATCH] initialize some more cpuinfo fields , Jan Beulich
Next by Date: [Xen-devel] Handling of subarch rename , Jacob Gorm Hansen
Previous by Thread: Re: [Xen-devel] [PATCH] initialize some more cpuinfo fields , Jan Beulich
Next by Thread: Re: [Xen-devel] [PATCH] initialize some more cpuinfo fields , Keir Fraser
Indexes: [Date] [Thread] [Top] [All Lists]

Copyright ©, Citrix Systems Inc. All rights reserved. Legal and Privacy
Citrix This site is hosted by Citrix

AltStyle によって変換されたページ (->オリジナル) /