From ee21dc66fdd1df2685db462d51a77827217cf57c Mon Sep 17 00:00:00 2001 From: pjht Date: Sat, 17 Aug 2024 19:45:01 -0500 Subject: [PATCH] Reduce kernel stack size to save memory --- src/tasking.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tasking.rs b/src/tasking.rs index 1066d7e..d8adeb0 100644 --- a/src/tasking.rs +++ b/src/tasking.rs @@ -123,7 +123,7 @@ pub struct Tasking { freeable_kstacks: Mutex>>, } -pub const KSTACK_SIZE: usize = (16 * 4096) / 8; +pub const KSTACK_SIZE: usize = (4 * 4096) / 8; impl Tasking { pub fn new_process(