svn commit: r327028 - head/sys/powerpc/include

Justin Hibbits jhibbits at FreeBSD.org
Wed Dec 20 16:49:47 UTC 2017


Author: jhibbits
Date: Wed Dec 20 16:49:45 2017
New Revision: 327028
URL: https://svnweb.freebsd.org/changeset/base/327028

Log:
  Increase default MAXDSIZ to 32G on powerpc64
  
  Linking LLVM now seems to require more than 1GB data size, so increase the
  default to 32G, which matches amd64.
  
  Reviewed by:	nwhitehorn

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

Modified: head/sys/powerpc/include/vmparam.h
==============================================================================
--- head/sys/powerpc/include/vmparam.h	Wed Dec 20 16:02:11 2017	(r327027)
+++ head/sys/powerpc/include/vmparam.h	Wed Dec 20 16:49:45 2017	(r327028)
@@ -48,7 +48,11 @@
 #endif
 
 #ifndef	MAXDSIZ
+#ifdef __powerpc64__
+#define	MAXDSIZ		(32UL*1024*1024*1024)	/* max data size */
+#else
 #define	MAXDSIZ		(1*1024*1024*1024)	/* max data size */
+#endif
 #endif
 
 #ifndef	DFLSSIZ


More information about the svn-src-head mailing list