ia64/xen-unstable

changeset 11816:c5ddcf89f050

[IA64] Add not-SMP-safe comment about PV-on-HVM

Signed-off-by: Tsunehisa Doi <Doi.Tsunehisa@jp.fujitsu.com>
author awilliam@xenbuild.aw
date Tue Oct 17 14:30:36 2006 -0600 (2006-10-17)
parents 3e1571489789
children 78c494a16b95
files xen/arch/ia64/xen/mm.c xen/arch/ia64/xen/vhpt.c
line diff
     1.1 --- a/xen/arch/ia64/xen/mm.c	Tue Oct 17 14:29:33 2006 -0600
     1.2 +++ b/xen/arch/ia64/xen/mm.c	Tue Oct 17 14:30:36 2006 -0600
     1.3 @@ -400,6 +400,7 @@ gmfn_to_mfn_foreign(struct domain *d, un
     1.4  
     1.5  	// This function may be called from __gnttab_copy()
     1.6  	// during destruction of VT-i domain with PV-on-HVM driver.
     1.7 +	// ** FIXME: This is not SMP-safe yet about p2m table. **
     1.8  	if (unlikely(d->arch.mm.pgd == NULL)) {
     1.9  		if (VMX_DOMAIN(d->vcpu[0]))
    1.10  			return INVALID_MFN;
     2.1 --- a/xen/arch/ia64/xen/vhpt.c	Tue Oct 17 14:29:33 2006 -0600
     2.2 +++ b/xen/arch/ia64/xen/vhpt.c	Tue Oct 17 14:30:36 2006 -0600
     2.3 @@ -228,6 +228,7 @@ void vcpu_flush_vtlb_all(struct vcpu *v)
     2.4  		   grant_table share page from guest_physmap_remove_page()
     2.5  		   in arch_memory_op() XENMEM_add_to_physmap to realize
     2.6  		   PV-on-HVM feature. */
     2.7 +		/* FIXME: This is not SMP-safe yet about p2m table */
     2.8  		/* Purge vTLB for VT-i domain */
     2.9  		thash_purge_all(v);
    2.10  	}