fn alloc_kernel_user_stack(
parent: &Arc<Task>,
requested: u64,
) -> Result<(u64, u64), SyscallError>Expand description
Allocate and lazily map a user stack in the parent process address space.
Returns (vaddr_base, aligned_size); the initial RSP is the top of the
region. Pages are demand-paged (reserve_region) exactly like sys_mmap.