Commit 78d1e9b
authored
Specify default thread stack size for musl (#343)
The musl libc by default sets up threads to have [128kB of
stack](https://wiki.musl-libc.org/functional-differences-from-glibc.html).
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: 135667751 parent d2c5f62 commit 78d1e9b
1 file changed
+5
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
69 | 74 | | |
70 | 75 | | |
71 | 76 | | |
| |||
0 commit comments