Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Dec 2017 16:49:46 +0000 (UTC)
From:      Justin Hibbits <jhibbits@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r327028 - head/sys/powerpc/include
Message-ID:  <201712201649.vBKGnkkD025216@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201712201649.vBKGnkkD025216>