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
Notes:
sideshowbarker
2024-07-17 11:53:54 +09:00
Author: https://github.com/timschumi Commit: https://github.com/SerenityOS/serenity/commit/cf7a0821b5 Pull-request: https://github.com/SerenityOS/serenity/pull/13637
1 changed files with 1 additions and 1 deletions
|
@ -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; }
|
||||
|
|
Loading…
Add table
Reference in a new issue