|
|
|
|
|
|
|
|
|
|
xen-changelog
[Xen-changelog] [xen-unstable] [xen] Fix deferred mmu op logic on invali
# HG changeset patch
# User Christian Limpach <Christian.Limpach@xxxxxxxxxxxxx>
# Date 1173093472 0
# Node ID a951cf1da459b7733d499157cd92b8000ecf0721
# Parent 939d2b7d4a12acea391c75324d189fa8858ffc9c
[xen] Fix deferred mmu op logic on invalidate shadow ldt.
On domain destroy, put_page_from_l1e is called on a domain
which is not current.
Signed-off-by: Christian Limpach <Christian.Limpach@xxxxxxxxxxxxx>
---
xen/arch/x86/mm.c | 5 ++++-
1 files changed, 4 insertions(+), 1 deletion(-)
diff -r 939d2b7d4a12 -r a951cf1da459 xen/arch/x86/mm.c
--- a/xen/arch/x86/mm.c Mon Mar 05 10:52:54 2007 +0000
+++ b/xen/arch/x86/mm.c Mon Mar 05 11:17:52 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
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-changelog] [xen-unstable] [xen] Fix deferred mmu op logic on invalidate shadow ldt.,
Xen patchbot-unstable <=
|
|
|
|
|