Date: Wed, 17 May 2017 08:38:41 +0000 (UTC) From: Edward Tomasz Napierala <trasz@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r318398 - head/sys/amd64/include Message-ID: <201705170838.v4H8cfZU019573@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: trasz Date: Wed May 17 08:38:41 2017 New Revision: 318398 URL: https://svnweb.freebsd.org/changeset/base/318398 Log: 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. Reviewed by: kib MFC after: 2 weeks Sponsored by: DARPA, AFRL Differential Revision: https://reviews.freebsd.org/D10758 Modified: head/sys/amd64/include/vmparam.h Modified: head/sys/amd64/include/vmparam.h ============================================================================== --- head/sys/amd64/include/vmparam.h Wed May 17 05:53:25 2017 (r318397) +++ head/sys/amd64/include/vmparam.h Wed May 17 08:38:41 2017 (r318398) @@ -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?201705170838.v4H8cfZU019573>