Kernel: Increase the default userspace stack size to 4 MiB

This makes the main thread stack size the same as the default stack
size when creating new threads.
This commit is contained in:
Tim Schumacher 2022-04-12 15:13:18 +02:00 committed by Andreas Kling
parent 81f1929a6f
commit cf7a0821b5

View file

@ -1025,7 +1025,7 @@ public:
static IterationDecision for_each(Callback);
static constexpr u32 default_kernel_stack_size = 65536;
static constexpr u32 default_userspace_stack_size = 1 * MiB;
static constexpr u32 default_userspace_stack_size = 4 * MiB;
u64 time_in_user() const { return m_total_time_scheduled_user; }
u64 time_in_kernel() const { return m_total_time_scheduled_kernel; }