svn commit: r319616 - stable/11/sys/amd64/include
Edward Tomasz Napierala
trasz at FreeBSD.org
Tue Jun 6 08:33:21 UTC 2017
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
More information about the svn-src-stable-11
mailing list