[Xen-changelog] [xen-unstable] Merge with xenppc-unstable.hg

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[Xen-changelog] [xen-unstable] Merge with xenppc-unstable.hg

Xen patchbot-unstable
# HG changeset patch
# User [hidden email]
# Date 1173093535 0
# Node ID f74b87177843887cd45f072d7bde8401c9ca43c2
# Parent  e74bfc74471778ad6515cef1674bd529b6814ff0
# Parent  a951cf1da459b7733d499157cd92b8000ecf0721
Merge with xenppc-unstable.hg
---
 xen/arch/x86/mm.c |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletion(-)

diff -r e74bfc744717 -r f74b87177843 xen/arch/x86/mm.c
--- a/xen/arch/x86/mm.c Mon Mar 05 11:14:15 2007 +0000
+++ b/xen/arch/x86/mm.c Mon Mar 05 11:18:55 2007 +0000
@@ -424,7 +424,10 @@ void invalidate_shadow_ldt(struct vcpu *
     }
 
     /* Dispose of the (now possibly invalid) mappings from the TLB.  */
-    queue_deferred_ops(v->domain, DOP_FLUSH_TLB | DOP_RELOAD_LDT);
+    if ( v == current )
+        queue_deferred_ops(v->domain, DOP_FLUSH_TLB | DOP_RELOAD_LDT);
+    else
+        flush_tlb_mask(v->domain->domain_dirty_cpumask);
 }
 
 

_______________________________________________
Xen-changelog mailing list
[hidden email]
http://lists.xensource.com/xen-changelog