mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 15:57:45 +00:00
Kernel: Allow userspace stacks to grow up to 4 MB by default
Make userspace stacks lazily allocated and allow them to grow up to 4 megabytes. This avoids a lot of silly crashes we were running into with software expecting much larger stacks. :^)
This commit is contained in:
parent
6bd1879189
commit
904c871727
2 changed files with 3 additions and 3 deletions
|
@ -313,7 +313,7 @@ public:
|
|||
}
|
||||
|
||||
static constexpr u32 default_kernel_stack_size = 65536;
|
||||
static constexpr u32 default_userspace_stack_size = 65536;
|
||||
static constexpr u32 default_userspace_stack_size = 4 * MB;
|
||||
|
||||
private:
|
||||
IntrusiveListNode m_runnable_list_node;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue