Page MenuHomeFreeBSD

Set default stack size for Linux apps to 8MB.
ClosedPublic

Authored by trasz on Oct 14 2020, 1:46 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Mar 18, 12:40 AM
Unknown Object (File)
Tue, Mar 17, 6:39 PM
Unknown Object (File)
Sun, Mar 15, 10:01 AM
Unknown Object (File)
Fri, Feb 27, 7:14 AM
Unknown Object (File)
Feb 23 2026, 9:41 AM
Unknown Object (File)
Feb 20 2026, 7:57 AM
Unknown Object (File)
Dec 29 2025, 10:38 PM
Unknown Object (File)
Dec 15 2025, 8:22 PM
Subscribers

Details

Summary

Set default stack size for Linux apps to 8MB. This matches Linux
default, makes core files smaller, and might work around some userspace
bugs.

PR: 248225

Diff Detail

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

Event Timeline

trasz requested review of this revision.Oct 14 2020, 1:46 PM
emaste added a subscriber: emaste.
emaste added inline comments.
sys/compat/linux/linux_emul.c
138 ↗(On Diff #78211)

I'm not sure this should be a KASSERT

This revision is now accepted and ready to land.Oct 14 2020, 1:52 PM