فهرست منبع

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.
Tim Schumacher 3 سال پیش
والد
کامیت
cf7a0821b5
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      Kernel/Thread.h

+ 1 - 1
Kernel/Thread.h

@@ -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; }