svn commit: r236813 - projects/amd64_xen_pv/sys/amd64/include
Cherry G. Mathew
cherry at FreeBSD.org
Sat Jun 9 12:58:01 UTC 2012
Author: cherry
Date: Sat Jun 9 12:58:00 2012
New Revision: 236813
URL: http://svn.freebsd.org/changeset/base/236813
Log:
Xen's "pseudo-physical" "ram" space is a fragmented by virtue of its bootstrap
sequence. vm requires this #define to stitching up the pieces into the
kva while booting up. See: vm_page.c:vm_page_startup()
Approved by: gibbs (implicit)
Modified:
projects/amd64_xen_pv/sys/amd64/include/vmparam.h
Modified: projects/amd64_xen_pv/sys/amd64/include/vmparam.h
==============================================================================
--- projects/amd64_xen_pv/sys/amd64/include/vmparam.h Sat Jun 9 12:27:30 2012 (r236812)
+++ projects/amd64_xen_pv/sys/amd64/include/vmparam.h Sat Jun 9 12:58:00 2012 (r236813)
@@ -79,7 +79,11 @@
/*
* The physical address space is densely populated.
*/
+#ifndef XEN
#define VM_PHYSSEG_DENSE
+#else /* XEN */
+#define VM_PHYSSEG_SPARSE
+#endif
/*
* The number of PHYSSEG entries must be one greater than the number
More information about the svn-src-projects
mailing list