mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 15:48:12 +00:00
Kernel: Shrink default userspace stack size from 4 MiB to 1 MiB
This knocks 70 MiB off our idle footprint, (from 350 MiB to 280 MiB.)
This commit is contained in:
parent
c1af2f28e3
commit
e7d2696a56
2 changed files with 2 additions and 2 deletions
|
@ -347,7 +347,7 @@ struct SC_create_thread_params {
|
|||
// ... ok, if you say so posix. Guess we get to lie to people about guard page size
|
||||
unsigned int guard_page_size = 0; // Rounded up to PAGE_SIZE
|
||||
unsigned int reported_guard_page_size = 0; // The lie we tell callers
|
||||
unsigned int stack_size = 4 * MiB; // Default PTHREAD_STACK_MIN
|
||||
unsigned int stack_size = 1 * MiB; // Default PTHREAD_STACK_MIN
|
||||
void* stack_location; // nullptr means any, o.w. process virtual address
|
||||
# if ARCH(X86_64)
|
||||
FlatPtr rdi;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue