Reduce kernel stack size to save memory
This commit is contained in:
parent
127b95f838
commit
ee21dc66fd
@ -123,7 +123,7 @@ pub struct Tasking {
|
|||||||
freeable_kstacks: Mutex<Vec<Box<[usize], &'static ASpaceMutex>>>,
|
freeable_kstacks: Mutex<Vec<Box<[usize], &'static ASpaceMutex>>>,
|
||||||
}
|
}
|
||||||
|
|
||||||
pub const KSTACK_SIZE: usize = (16 * 4096) / 8;
|
pub const KSTACK_SIZE: usize = (4 * 4096) / 8;
|
||||||
|
|
||||||
impl Tasking {
|
impl Tasking {
|
||||||
pub fn new_process(
|
pub fn new_process(
|
||||||
|
Loading…
Reference in New Issue
Block a user