Page MenuHomeFreeBSD

Bump MAXTSIZ.
ClosedPublic

Authored by trasz on May 16 2017, 5:17 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Apr 10, 3:47 AM
Unknown Object (File)
Feb 20 2024, 9:31 AM
Unknown Object (File)
Feb 12 2024, 10:23 AM
Unknown Object (File)
Feb 6 2024, 11:56 PM
Unknown Object (File)
Jan 4 2024, 9:57 AM
Unknown Object (File)
Dec 20 2023, 6:52 AM
Unknown Object (File)
Dec 11 2023, 12:02 AM
Unknown Object (File)
Dec 3 2023, 5:43 AM
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

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

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.