Page MenuHomeFreeBSD

Correct the default initial thread stack size.
AbandonedPublic

Authored by brooks on Jan 18 2020, 7:36 PM.
Tags
None
Referenced Files
Unknown Object (File)
Dec 20 2023, 8:18 AM
Unknown Object (File)
Nov 14 2023, 2:57 PM
Unknown Object (File)
Oct 28 2023, 11:58 PM
Unknown Object (File)
Oct 14 2023, 12:49 AM
Unknown Object (File)
Oct 13 2023, 1:54 PM
Unknown Object (File)
Aug 27 2023, 2:34 PM
Unknown Object (File)
Aug 13 2023, 6:29 AM
Unknown Object (File)
Dec 9 2022, 1:57 PM
Subscribers
None

Details

Reviewers
kib
markj
Summary

By default, non-initial threads get 4MB stacks and initial ones get
twice that. There is no longer are 32-bit/64-bit split.

Diff Detail

Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 28758
Build 26768: arc lint + arc unit

Event Timeline

Are you sure ? I do not see what you claim, in the code:

#define THR_STACK_DEFAULT		(sizeof(void *) / 4 * 1024 * 1024)

Bah, I did indeed misread the code.