Skip to content
Commit cc4492e1 authored by Pavel Emelyanov's avatar Pavel Emelyanov
Browse files

rst: Don't allocate page for child stack (v2)



When clone-ing kids we can set their stack on current, as
it will anyway be COW-ed later. One thing to note -- we do
need to reserve some space on the stack for glibc's arguments
and retcode allocation. 128 bytes should be enough for 16
pointers while clone has 5 arguments.

Signed-off-by: default avatarPavel Emelyanov <xemul@parallels.com>
parent d3b63428
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment