Skip to content

Conversation

@87flowers
Copy link
Contributor

The musl libc by default sets up threads to have 128kB of stack.

We explicitly set our desired default stack size in the PT_GNU_STACK header with this linker command. musl reads this header to determine the default thread stack size. 2MB is approximately the glibc default.

Bench: 13566775

@87flowers 87flowers force-pushed the musl-stack branch 2 times, most recently from b286d74 to c81928d Compare December 26, 2025 19:29
@TheRealGioviok TheRealGioviok merged commit 78d1e9b into official-clockwork:main Dec 26, 2025
28 checks passed
@87flowers 87flowers deleted the musl-stack branch December 26, 2025 20:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants