mirror of
https://github.com/SerenityOS/serenity
synced 2024-10-15 04:13:11 +00:00
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:
parent
81f1929a6f
commit
cf7a0821b5
|
@ -1025,7 +1025,7 @@ public:
|
||||||
static IterationDecision for_each(Callback);
|
static IterationDecision for_each(Callback);
|
||||||
|
|
||||||
static constexpr u32 default_kernel_stack_size = 65536;
|
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_user() const { return m_total_time_scheduled_user; }
|
||||||
u64 time_in_kernel() const { return m_total_time_scheduled_kernel; }
|
u64 time_in_kernel() const { return m_total_time_scheduled_kernel; }
|
||||||
|
|
Loading…
Reference in a new issue