From: Keir Fraser Subject: Re: Patch question (Hyper-Threading support) Date: Tue, 28 Mar 2006 09:55:29 +0100 Message-ID: <3cc45db76eb39cd1ee8ad23f94bceb09@cl.cam.ac.uk> References: <1143228618.7685.34.camel@localhost.localdomain> <20060324191540.1306291c.tfreeman@mcs.anl.gov> <1143507139.7733.10.camel@localhost.localdomain> <1143534485.10065.18.camel@localhost.localdomain> Mime-Version: 1.0 (Apple Message framework v623) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1143534485.10065.18.camel@localhost.localdomain> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Elizeu Santos-Neto Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On 28 Mar 2006, at 09:28, Elizeu Santos-Neto wrote: > What I meant by HT support was the construction of sibling maps by the > Guest OS smp-kernel using information about the core ids from the VCPU. > > More precisely, I've found the following comment in the file: > > ./linux-2.6-xen-sparse/arch/xen/kernel/smpboot.c > > /* Currently, Xen gives no dynamic NUMA/HT info. */ > > Thus, I modified this file and a couple of other to allow the guest os > kernel to build the siblings map properly. Ah, I see. Those platform files (e.g., smpboot.c, mpparse.c. ,,,) are all kept in sync with linux-2.6 codebase. We generally don't modify them much for Xen and periodically (every couple of months) I pull in the latest versions from linux. That's what's happened here. -- Keir