From: Keir Fraser Subject: Re: [RFC] Physical hot-add cpus and TSC Date: Wed, 26 May 2010 18:29:40 +0100 Message-ID: References: <5738eada-ede6-4a58-af6b-a7f965aa3ecf@default> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <5738eada-ede6-4a58-af6b-a7f965aa3ecf@default> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Dan Magenheimer , "Xen-Devel (xen-devel@lists.xensource.com)" List-Id: xen-devel@lists.xenproject.org On 26/05/2010 17:44, "Dan Magenheimer" wrote: >> True at the moment, but can we not just whack the TSC of the newly >> added CPU on the head when it is brought online, to match the >> boot CPU? > > Possibly... but the code for whacking the TSC of a CPU after > C3-state results in a TSC value that is poorly-aligned with other > running TSCs. If there is a better way for "whacking" that > results in a nearly-perfectly-aligned TSC (that would pass > a "tsc warp test"), that is an option. But what we do in 4.0 is whack all the TSCs at boot time... How is this any different? -- Keir