From: Keir Fraser Subject: Re: [PATCH] mask cpuid TSC invariant bit for various circumstances (Take 2) Date: Fri, 06 Nov 2009 07:18:09 +0000 Message-ID: References: <4c6eda4b-48c0-4a29-9800-c66a18a0f89f@default> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <4c6eda4b-48c0-4a29-9800-c66a18a0f89f@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 (E-mail)" List-Id: xen-devel@lists.xenproject.org On 05/11/2009 21:50, "Dan Magenheimer" wrote: > Mask cpuid TSC invariant bit for some circumstances > and expose it for others. On upstream Linux kernels, > non-zero Invariant TSC bit permanently selects TSC > as the clocksource (currently on Intel only). When > these kernels run on Xen, when migration is possible > and TSC is unemulated, this can cause much weirdness. > But exposing non-zero Invariant TSC has performance > advantages so we want to expose it when it is safe. > (Note leaving it exposed/unexposed for dom0 is not an > issue.) I think I pushed you into changing this in a way I like even less. :-) I can live with your original patch, so I'll check that in after all. -- Keir