Author: nwhitehorn
Date: Mon Dec 20 14:25:01 2010
New Revision: 216589
URL: http://svn.freebsd.org/changeset/base/216589

Log:
  Memory can be laid out with large gaps on 64-bit PowerPC, so switch to
  VM_PHYSSEG_SPARSE.

Modified:
  head/sys/powerpc/include/vmparam.h

Modified: head/sys/powerpc/include/vmparam.h
==============================================================================
--- head/sys/powerpc/include/vmparam.h  Mon Dec 20 09:36:54 2010        
(r216588)
+++ head/sys/powerpc/include/vmparam.h  Mon Dec 20 14:25:01 2010        
(r216589)
@@ -140,9 +140,14 @@ struct pmap_physseg {
 #define        VM_PHYSSEG_MAX          16      /* 1? */
 
 /*
- * The physical address space is densely populated.
+ * The physical address space is densely populated on 32-bit systems,
+ * but may not be on 64-bit ones.
  */
+#ifdef __powerpc64__
+#define        VM_PHYSSEG_SPARSE
+#else
 #define        VM_PHYSSEG_DENSE
+#endif
 
 /*
  * Create three free page pools: VM_FREEPOOL_DEFAULT is the default pool
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to