|
|
|
|
|
by monocasa
2979 days ago
|
|
Another ~8MB(8MB plus guard pages) chunk of virtual memory that's free up there near the shared mappings. You're totally right though, that threads complicated the traditional "stack grows down heap grows up" view of a Unix user address space. |
|
- If a process has many threads, their stacks are all located within a single virtual address space corresponding to the user process?
- If one thread grows down and is about to overwrite the top of another thread's stack, does the OS detect this automatically and do some sort of reallocation procedure?