Lightweight Process Stack Allocation

86 Views Asked by At

Linux lightweight processes share the same memory descriptor as referred here. This includes all the segments including text, data, heap, stack. I wanted to how this shared stack segment is managed for more than one execution context by the kernel. Or does the kernel maintain separate stack for each light weight process? If so, then how is that virtual memory area referenced by the running process.

Thanks in advance.

0

There are 0 best solutions below