mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-22 12:35:14 +00:00
Kernel: Decrease default userspace stack size to 1 MiB
Not sure why this was 4 MiB in the first place, but that's a lot of memory to reserve for each thread when we're running with 512 MiB total in the default testing setup. :^)
This commit is contained in:
parent
e8d3856736
commit
29045f84d4
Notes:
sideshowbarker
2024-07-18 22:23:56 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/29045f84d45
1 changed files with 1 additions and 1 deletions
|
@ -1090,7 +1090,7 @@ public:
|
|||
static IterationDecision for_each(Callback);
|
||||
|
||||
static constexpr u32 default_kernel_stack_size = 65536;
|
||||
static constexpr u32 default_userspace_stack_size = 4 * MiB;
|
||||
static constexpr u32 default_userspace_stack_size = 1 * MiB;
|
||||
|
||||
u32 ticks_in_user() const { return m_ticks_in_user; }
|
||||
u32 ticks_in_kernel() const { return m_ticks_in_kernel; }
|
||||
|
|
Loading…
Add table
Reference in a new issue