pub const USER_STACK_MAX_PAGES: usize = 2048;
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.