Skip to main content

USER_STACK_MIN_PAGES

Constant USER_STACK_MIN_PAGES 

Source
pub const USER_STACK_MIN_PAGES: usize = 4;
Expand description

Lower bound on a per-process user stack (4 pages = 16 KiB): the boot stack layout alone (argv/envp/auxv + guard margins) needs at least one page, and tiny stacks would fault immediately.