diff options
author | trasz <trasz@FreeBSD.org> | 2017-06-06 08:33:19 +0000 |
---|---|---|
committer | trasz <trasz@FreeBSD.org> | 2017-06-06 08:33:19 +0000 |
commit | 2d296408814d021db130f660689a27ac97da6c8a (patch) | |
tree | 4a7ab2701c94b31775785afc66a272fb2cc7c0be /sys/amd64 | |
parent | 31c59906ec81f862e5f8ce88378fa26e2ff3156b (diff) | |
download | FreeBSD-src-2d296408814d021db130f660689a27ac97da6c8a.zip FreeBSD-src-2d296408814d021db130f660689a27ac97da6c8a.tar.gz |
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)
Diffstat (limited to 'sys/amd64')
-rw-r--r-- | sys/amd64/include/vmparam.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/amd64/include/vmparam.h b/sys/amd64/include/vmparam.h index 07158e8..381097a 100644 --- a/sys/amd64/include/vmparam.h +++ b/sys/amd64/include/vmparam.h @@ -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 |