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.