mirror of
https://github.com/asterinas/asterinas.git
synced 2025-06-30 10:33:31 +00:00
Increase user stack size
This commit is contained in:
committed by
Tate, Hongliang Tian
parent
4851204059
commit
57cb922253
@ -20,7 +20,8 @@ use crate::{
|
||||
vm::{perms::VmPerms, vmar::Vmar, vmo::VmoOptions},
|
||||
};
|
||||
|
||||
pub const INIT_STACK_SIZE: usize = 64 * 1024; // 64 KiB
|
||||
/// Set the initial stack size to 8 megabytes, following the default Linux stack size limit.
|
||||
pub const INIT_STACK_SIZE: usize = 8 * 1024 * 1024; // 8 MB
|
||||
|
||||
/*
|
||||
* Illustration of the virtual memory space containing the processes' init stack:
|
||||
|
Reference in New Issue
Block a user