Date: Sat, 9 Jun 2012 12:58:00 +0000 (UTC) From: "Cherry G. Mathew" <cherry@FreeBSD.org> To: src-committers@freebsd.org, svn-src-projects@freebsd.org Subject: svn commit: r236813 - projects/amd64_xen_pv/sys/amd64/include Message-ID: <201206091258.q59Cw0Kb033870@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201206091258.q59Cw0Kb033870>