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-changelog

[Xen-changelog] [xen-3.2-testing] shadow: Fix TLB flushing in the second

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-3.2-testing] shadow: Fix TLB flushing in the second pass of sh_prealloc() in the
From: "Xen patchbot-3.2-testing" <patchbot-3.2-testing@xxxxxxxxxxxxxxxxxxx>
Date: Fri, 25 Apr 2008 06:30:52 -0700
Delivery-date: Fri, 25 Apr 2008 06:31:43 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1209126496 -3600
# Node ID a37f46528d38b6e7a2eb3b13f4bd0031141add40
# Parent  e50cf810ef17c124b4d89b9849e4d7f4c271357c
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 e50cf810ef17 -r a37f46528d38 xen/arch/x86/mm/shadow/common.c
--- a/xen/arch/x86/mm/shadow/common.c   Wed Apr 23 09:17:14 2008 +0100
+++ b/xen/arch/x86/mm/shadow/common.c   Fri Apr 25 13:28:16 2008 +0100
@@ -801,7 +801,6 @@ static void _shadow_prealloc(
     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;
 
@@ -839,12 +838,11 @@ static void _shadow_prealloc(
             {
                 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 enough space */
                 if ( space_is_available(d, order, count) )
                 {
-                    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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-3.2-testing] shadow: Fix TLB flushing in the second pass of sh_prealloc() in the, Xen patchbot-3.2-testing <=