From e1b2150f1bde5b5da5cb384f8da9aed9db2d7efc Mon Sep 17 00:00:00 2001 From: Stephen Marz Date: Fri, 15 May 2020 10:54:02 -0400 Subject: [PATCH] Reduce stack size to 5 pages --- risc_v/src/process.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/risc_v/src/process.rs b/risc_v/src/process.rs index 99a42c2..c704279 100644 --- a/risc_v/src/process.rs +++ b/risc_v/src/process.rs @@ -24,7 +24,7 @@ use crate::lock::Mutex; // How many pages are we going to give a process for their // stack? -pub const STACK_PAGES: usize = 15; +pub const STACK_PAGES: usize = 5; // We want to adjust the stack to be at the bottom of the memory allocation // regardless of where it is on the kernel heap. pub const STACK_ADDR: usize = 0x1_0000_0000;