Date: Thu, 17 Jan 2008 01:18:52 GMT From: Kip Macy <kmacy@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 133447 for review Message-ID: <200801170118.m0H1IqM8081523@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=133447 Change 133447 by kmacy@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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200801170118.m0H1IqM8081523>