Skip to main content

USER_STACK_MAX_PAGES

Constant USER_STACK_MAX_PAGES 

Source
pub const USER_STACK_MAX_PAGES: usize = 2048;
Expand description

Upper bound on a per-process user stack (2048 pages = 8 MiB), to keep a buggy or hostile caller from exhausting the user address space / frames.