Date: Tue, 6 Jun 2017 08:33:20 +0000 (UTC) From: Edward Tomasz Napierala <trasz@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org Subject: svn commit: r319616 - stable/11/sys/amd64/include Message-ID: <201706060833.v568XKqg091573@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: trasz Date: Tue Jun 6 08:33:19 2017 New Revision: 319616 URL: https://svnweb.freebsd.org/changeset/base/319616 Log: MFC r318398: Bump default MAXTSIZ (kern.maxtsiz) from 128MB to 32GB. The old limit prevents one from running eg clang built with debug; the new one is arbitrary (equal to MAXDSIZ) and... well, should be quite future-proof. Same fix might be applicable to other 64 bit architectures; I'll ask their respective maintainers to make sure it won't break anything. Approved by: re (kib) Modified: stable/11/sys/amd64/include/vmparam.h Directory Properties: stable/11/ (props changed) Modified: stable/11/sys/amd64/include/vmparam.h ============================================================================== --- stable/11/sys/amd64/include/vmparam.h Tue Jun 6 07:22:26 2017 (r319615) +++ stable/11/sys/amd64/include/vmparam.h Tue Jun 6 08:33:19 2017 (r319616) @@ -52,7 +52,7 @@ /* * Virtual memory related constants, all in bytes */ -#define MAXTSIZ (128UL*1024*1024) /* max text size */ +#define MAXTSIZ (32768UL*1024*1024) /* max text size */ #ifndef DFLDSIZ #define DFLDSIZ (32768UL*1024*1024) /* initial data size limit */ #endif
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201706060833.v568XKqg091573>