3 ms·
I doubt Linux actually allocates physical pages for all 8MB of available stack space immediately after launching a program. The original sort post uses bash, w
by nitrogen 15y ago
I doubt Linux actually allocates physical pages for all 8MB of available stack space immediately after launching a program. The original sort post uses bash, which launches a separate process for every external command.
However, if you're using a shared address space and kernel-level threads, you could easily run out of virtual addresses.