From: Alan Cox Subject: Re: write_tsc in a PV domain? Date: Fri, 28 Aug 2009 16:30:46 +0100 Message-ID: <20090828163046.4d866ef7@lxorguk.ukuu.org.uk> References: <20090828104915.56cf1002@lxorguk.ukuu.org.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: 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 Cc: Jeremy Fitzhardinge , "Xen-Devel (E-mail)" , Keir Fraser List-Id: xen-devel@lists.xenproject.org > Jeremy's claim is that because some apps-that-use- > rdtsc risk bugginess, Xen can claim rdtsc for its own > use and effectively disallow all uses of rdtsc in any > app by breaking the existing, sometimes-useful semantics > of the instruction. If Xen is hiding the tsc cpu feature from the kernel/apps it can. One problem there is a lot of grotty code simply explodes without rdtsc working. The alternative is to virtualise the TSC as some other hypedvisors do but that has other impacts.