Page MenuHomeFreeBSD

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

Authored by trasz on Oct 14 2020, 1:46 PM.

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
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; 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