Date: Tue, 30 Oct 2012 04:31:32 +0000 (UTC) From: "Cherry G. Mathew" <cherry@FreeBSD.org> To: src-committers@freebsd.org, svn-src-projects@freebsd.org Subject: svn commit: r242341 - projects/amd64_xen_pv/sys/amd64/xen Message-ID: <201210300431.q9U4VWrW014686@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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; }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201210300431.q9U4VWrW014686>