Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 Jan 2015 06:54:11 +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: r276905 - head/sys/powerpc/include
Message-ID:  <201501100654.t0A6sBmI059081@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jhibbits
Date: Sat Jan 10 06:54:10 2015
New Revision: 276905
URL: https://svnweb.freebsd.org/changeset/base/276905

Log:
  Increase default MAXTSIZ to allow execution of larger binaries.
  
  This allows executing static clang built with -O0.
  
  The value is configurable by a sysctl, so if one needs to clamp it down, they
  still can.
  
  Discussed with:	nwhitehorn,emaste

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

Modified: head/sys/powerpc/include/vmparam.h
==============================================================================
--- head/sys/powerpc/include/vmparam.h	Sat Jan 10 06:48:35 2015	(r276904)
+++ head/sys/powerpc/include/vmparam.h	Sat Jan 10 06:54:10 2015	(r276905)
@@ -38,7 +38,7 @@
 #define	USRSTACK	SHAREDPAGE
 
 #ifndef	MAXTSIZ
-#define	MAXTSIZ		(64*1024*1024)		/* max text size */
+#define	MAXTSIZ		(1*1024*1024*1024)		/* max text size */
 #endif
 
 #ifndef	DFLDSIZ



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