summaryrefslogtreecommitdiff
path: root/Kernel/Thread.h
diff options
context:
space:
mode:
authorTim Schumacher <timschumi@gmx.de>2022-04-12 15:13:18 +0200
committerAndreas Kling <kling@serenityos.org>2022-04-12 16:48:15 +0200
commitcf7a0821b5c79c8b998ae66d25b9c5489fe13bab (patch)
tree6f71fb0ddfeb3e2fec10a3431c3e6671410dd325 /Kernel/Thread.h
parent81f1929a6fed63e6778e6ac71136dde8971bad6b (diff)
downloadserenity-cf7a0821b5c79c8b998ae66d25b9c5489fe13bab.zip
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.
Diffstat (limited to 'Kernel/Thread.h')
-rw-r--r--Kernel/Thread.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/Thread.h b/Kernel/Thread.h
index 7865924051..42de69c8ab 100644
--- a/Kernel/Thread.h
+++ b/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; }