mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 23:07:35 +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
|
@ -1060,7 +1060,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;
|
||||
|
||||
u64 time_in_user() const { return m_total_time_scheduled_user; }
|
||||
u64 time_in_kernel() const { return m_total_time_scheduled_kernel; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue