| ... | @@ -290,11 +290,7 @@ pub const MAX_PAGE_SHIFT = switch (builtin.cpu.arch) { | ... | @@ -290,11 +290,7 @@ pub const MAX_PAGE_SHIFT = switch (builtin.cpu.arch) { |
| 290 | .sparc64 => 13, | 290 | .sparc64 => 13, |
| 291 | }; | 291 | }; |
| 292 | | 292 | |
| 293 | pub const PTHREAD_STACK_MIN = switch (builtin.cpu.arch) { | 293 | pub const PTHREAD_STACK_MIN = 1 << MAX_PAGE_SHIFT; |
| 294 | .sparc64 => 1 << 13, | | |
| 295 | .mips64 => 1 << 14, | | |
| 296 | else => 1 << 12, | | |
| 297 | }; | | |
| 298 | | 294 | |
| 299 | // https://github.com/openbsd/src/blob/718a31b40d39fc6064de6355eb144e74633133fc/sys/netinet/in.h#L283 | 295 | // https://github.com/openbsd/src/blob/718a31b40d39fc6064de6355eb144e74633133fc/sys/netinet/in.h#L283 |
| 300 | pub const IP = struct { | 296 | pub const IP = struct { |