svn commit: r242341 - projects/amd64_xen_pv/sys/amd64/xen

Cherry G. Mathew cherry at FreeBSD.org
Tue Oct 30 04:31:33 UTC 2012


Author: cherry
Date: Tue Oct 30 04:31:32 2012
New Revision: 242341
URL: http://svn.freebsd.org/changeset/base/242341

Log:
  It's okay to let uma(9) use kmem_alloc at this point.
  Also tell it to zero new pages, since they will be part of the page
  table hierarchy and we don't want random data in there.
  
  Approved by: gibbs (implicit)

Modified:
  projects/amd64_xen_pv/sys/amd64/xen/pmap.c

Modified: projects/amd64_xen_pv/sys/amd64/xen/pmap.c
==============================================================================
--- projects/amd64_xen_pv/sys/amd64/xen/pmap.c	Tue Oct 30 04:06:12 2012	(r242340)
+++ projects/amd64_xen_pv/sys/amd64/xen/pmap.c	Tue Oct 30 04:31:32 2012	(r242341)
@@ -1211,7 +1211,7 @@ setup_xen_pagezone(void *dummy __unused)
 {
 
 	xen_pagezone = uma_zcreate("XEN PAGEZONE", PAGE_SIZE, NULL, NULL,
-	    xen_pagezone_init, NULL, UMA_ALIGN_PTR, UMA_ZONE_VM);
+	    xen_pagezone_init, NULL, UMA_ALIGN_PTR, UMA_ZONE_ZINIT);
 	ptmb_mappedalloc = xen_pagezone_alloc;
 	ptmb_mappedfree = xen_pagezone_free;
 }


More information about the svn-src-projects mailing list