WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-ia64-devel

Re: [Xen-ia64-devel] [PATCH] add the definition of __cacheline_aligned a

To: Tristan Gingold <Tristan.Gingold@xxxxxxxx>
Subject: Re: [Xen-ia64-devel] [PATCH] add the definition of __cacheline_aligned and its variants (was Re: [PATCH] allow vcpu to move between pcpus)
From: Isaku Yamahata <yamahata@xxxxxxxxxxxxx>
Date: Mon, 3 Jul 2006 22:00:23 +0900
Cc: xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Mon, 03 Jul 2006 06:00:59 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <200607031445.08018.Tristan.Gingold@xxxxxxxx>
List-help: <mailto:xen-ia64-devel-request@lists.xensource.com?subject=help>
List-id: Discussion of the ia64 port of Xen <xen-ia64-devel.lists.xensource.com>
List-post: <mailto:xen-ia64-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=unsubscribe>
References: <200606220914.02813.Tristan.Gingold@xxxxxxxx> <200607031401.26624.Tristan.Gingold@xxxxxxxx> <20060703122824.GG10979%yamahata@xxxxxxxxxxxxx> <200607031445.08018.Tristan.Gingold@xxxxxxxx>
Sender: xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.4.2.1i
On Mon, Jul 03, 2006 at 02:45:08PM +0200, Tristan Gingold wrote:

> Why not adding the 'int last_cpu' field in the struct arch_vcpu ?
> If two vcpus are running on the same cpu, the VHPT is always up to date.

Since there is no gurantee that both two vcpu map
(rid, virtual address) to a same pseudo physical address,
VHPT and mTLB must be flushed everytime vcpu is switched.
If they aren't flushed, it is highly likey that the per cpu variable
area will be broken.
-- 
yamahata

_______________________________________________
Xen-ia64-devel mailing list
Xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-ia64-devel

<Prev in Thread] Current Thread [Next in Thread>