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

[Xen-changelog] Avoid generating unknown backptrs for page directories.



# HG changeset patch
# User kaf24@xxxxxxxxxxxxxxxxxxxx
# Node ID 484a14acfc261b7768189162e86b391eeff09659
# Parent  56ee79e28f1dfdd0da9711bd866d4d4765e93a3e
Avoid generating unknown backptrs for page directories.

Signed-off-by: Keir Fraser <keir@xxxxxxxxxxxxx>

diff -r 56ee79e28f1d -r 484a14acfc26 xen/arch/x86/mm.c
--- a/xen/arch/x86/mm.c Wed Mar  8 22:58:05 2006
+++ b/xen/arch/x86/mm.c Sun Mar 12 18:36:00 2006
@@ -1524,6 +1524,9 @@
                     if ( (type & PGT_type_mask) == PGT_l2_page_table )
                         return 0;
 #endif
+                    /* Fixme: add code to propagate va_unknown to subtables. */
+                    if ( (type & PGT_type_mask) >= PGT_l2_page_table )
+                        return 0;
                     /* This table is possibly mapped at multiple locations. */
                     nx &= ~PGT_va_mask;
                     nx |= PGT_va_unknown;

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

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