PERFORCE change 133447 for review

Kip Macy kmacy at FreeBSD.org
Wed Jan 16 17:18:53 PST 2008


http://perforce.freebsd.org/chv.cgi?CH=133447

Change 133447 by kmacy at pandemonium:kmacy:xen31 on 2008/01/17 01:18:47

	change valid check, we appear to frequently have legitimate entries without the valid bit set

Affected files ...

.. //depot/projects/xen31/sys/i386/include/xen/xenpmap.h#7 edit

Differences ...

==== //depot/projects/xen31/sys/i386/include/xen/xenpmap.h#7 (text+ko) ====

@@ -75,7 +75,7 @@
 
 #define INVALID_P2M_ENTRY	(~0UL)
 
-#define pmap_valid_entry(E)           ((E) & PG_V) /* is PDE or PTE valid? */
+#define pmap_valid_entry(E)           ((E) > PAGE_SIZE) /* is PDE or PTE valid? */
 
 #define SH_PD_SET_VA        1
 #define SH_PD_SET_VA_MA     2


More information about the p4-projects mailing list