|
|
|
|
|
|
|
|
|
|
xen-changelog
[Xen-changelog] Fix cleanup path for active writable pagetable. Reconne
ChangeSet 1.1159.270.12, 2005/03/25 13:33:38+00:00, cl349@xxxxxxxxxxxxxxxxxxxx
Fix cleanup path for active writable pagetable. Reconnect page so that
it
gets cleaned up correctly.
Signed-off-by: Christian Limpach <Christian.Limpach@xxxxxxxxxxxx>
memory.c | 5 +++++
1 files changed, 5 insertions(+)
diff -Nru a/xen/arch/x86/memory.c b/xen/arch/x86/memory.c
--- a/xen/arch/x86/memory.c 2005-03-25 09:03:12 -05:00
+++ b/xen/arch/x86/memory.c 2005-03-25 09:03:12 -05:00
@@ -1765,6 +1765,11 @@
(ENTRIES_PER_L1_PAGETABLE - i) * sizeof(l1_pgentry_t));
unmap_domain_mem(pl1e);
ptwr_info[cpu].ptinfo[which].l1va = 0;
+ if ( (which == PTWR_PT_ACTIVE) && likely(!d->mm.shadow_mode) )
+ {
+ pl2e = &linear_l2_table[ptwr_info[cpu].ptinfo[which].l2_idx];
+ *pl2e = mk_l2_pgentry(l2_pgentry_val(*pl2e) | _PAGE_PRESENT);
+ }
domain_crash();
}
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-changelog
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- [Xen-changelog] Fix cleanup path for active writable pagetable. Reconnect page so that it,
BitKeeper Bot <=
|
|
|
|
|