1
0
mirror of https://github.com/sgmarz/osblog.git synced 2024-11-23 18:06:20 +04:00

Reduce stack size to 5 pages

This commit is contained in:
Stephen Marz 2020-05-15 10:54:02 -04:00
parent f8fad1804f
commit e1b2150f1b

View File

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