From: Keir Fraser Subject: Re: TPR write optimization (even improves 2003 sp2) Date: Thu, 08 Jan 2009 09:08:27 +0000 Message-ID: References: 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: James Harper , xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On 08/01/2009 03:53, "James Harper" wrote: > One (big?) hiccup... how do I make sure that I am accessing the vlapic > structure for the correct CPU? My current idea of vlapic[current_cpu] is > flawed because a thread switch could occur between getting the address > of the vlapic structure for the current cpu and writing a value to the > mapped register. > > Is it possible to have per-cpu mapping? No. > Does disabling interrupts via cli cause a VMEXIT? No. K.