[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-3.1-testing] shadow: Fix TLB flushing in the second pass of sh_prealloc() in the
# HG changeset patch # User Keir Fraser <keir.fraser@xxxxxxxxxx> # Date 1209126554 -3600 # Node ID d0eab33fec36f0b611a6eae86cd1aa4afb14c03b # Parent 6366c46d4812b0f996a8501d4000aa30c46b2623 shadow: Fix TLB flushing in the second pass of sh_prealloc() in the case where multiple vcpus use the same pagetables. Signed-off-by: Tim Deegan <Tim.Deegan@xxxxxxxxxx> xen-unstable changeset: 17520:7689e311f3b5ee4a4d547405c73e40ab689875f0 xen-unstable date: Fri Apr 25 13:27:19 2008 +0100 --- xen/arch/x86/mm/shadow/common.c | 4 +--- 1 files changed, 1 insertion(+), 3 deletions(-) diff -r 6366c46d4812 -r d0eab33fec36 xen/arch/x86/mm/shadow/common.c --- a/xen/arch/x86/mm/shadow/common.c Wed Apr 23 09:19:00 2008 +0100 +++ b/xen/arch/x86/mm/shadow/common.c Fri Apr 25 13:29:14 2008 +0100 @@ -834,7 +834,6 @@ void shadow_prealloc(struct domain *d, u struct vcpu *v, *v2; struct list_head *l, *t; struct shadow_page_info *sp; - cpumask_t flushmask = CPU_MASK_NONE; mfn_t smfn; int i; @@ -871,12 +870,11 @@ void shadow_prealloc(struct domain *d, u { shadow_unhook_mappings(v, pagetable_get_mfn(v2->arch.shadow_table[i])); - cpus_or(flushmask, v2->vcpu_dirty_cpumask, flushmask); /* See if that freed up a chunk of appropriate size */ if ( chunk_is_available(d, order) ) { - flush_tlb_mask(flushmask); + flush_tlb_mask(d->domain_dirty_cpumask); return; } } _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |