Page MenuHomeFreeBSD

Bump MAXTSIZ.
ClosedPublic

Authored by trasz on May 16 2017, 5:17 PM.
Tags
None
Referenced Files
F105770338: D10758.diff
Fri, Dec 20, 11:11 AM
Unknown Object (File)
Mon, Dec 2, 1:10 PM
Unknown Object (File)
Oct 25 2024, 1:57 PM
Unknown Object (File)
Sep 22 2024, 6:54 PM
Unknown Object (File)
Sep 22 2024, 2:03 AM
Unknown Object (File)
Sep 18 2024, 7:24 PM
Unknown Object (File)
Sep 18 2024, 3:06 AM
Unknown Object (File)
Sep 17 2024, 6:17 PM
Subscribers

Details

Summary

Bump default MAXTSIZ (kern.maxtsiz) from 128MB to 32GB. The old limits
prevents one from running eg clang built with debug; the new one is
arbitrary (equal to MAXDSIZ) and... well, should be quite future-proof.

MFC after: 2 weeks

Diff Detail

Event Timeline

trasz added a reviewer: kib.
This revision is now accepted and ready to land.May 16 2017, 8:44 PM
This revision was automatically updated to reflect the committed changes.

Hm, for other 64 bit architectures MAXTSIZ seems to be equal to MAXDSIZ already, except that both are 1GB. Not sure if we need to do anything about that then.

On the other hand, the binary was 2.2GB big on amd64, so it _might_ be over the 1GB text size limit. I'll ask about bumping it, I guess.