[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] Clean ptwr flush error path: it has a lot in common with the normal



ChangeSet 1.1370, 2005/03/25 13:52:05+00:00, kaf24@xxxxxxxxxxxxxxxxxxxx

        Clean ptwr flush error path: it has a lot in common with the normal
        exit path.
        Signed-off-by: Keir Fraser <keir@xxxxxxxxxxxxx>



 mm.c |    9 +--------
 1 files changed, 1 insertion(+), 8 deletions(-)


diff -Nru a/xen/arch/x86/mm.c b/xen/arch/x86/mm.c
--- a/xen/arch/x86/mm.c 2005-03-25 09:03:54 -05:00
+++ b/xen/arch/x86/mm.c 2005-03-25 09:03:54 -05:00
@@ -2392,15 +2392,8 @@
              */
             memcpy(&pl1e[i], &ptwr_info[cpu].ptinfo[which].page[i],
                    (L1_PAGETABLE_ENTRIES - 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();
-            return;
+            break;
         }
         
         if ( unlikely(sl1e != NULL) )


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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.