Hi,

I am just wondering how the kernel manages user space stack for
different threads.

I tried to follow the code and noticed that if CLONE_VM is specified,
the kernel simply points mm to parent's mm. I suppose pthread does
specify CLONE_VM so this true for pthread.

In this case, both parent and thread points to the same mm and
especially same stack and I just can't quite understand how this is
possible.
Could anyone give me some insight on this?

Thank you very much in advance.

YEH

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to [email protected]
Please read the FAQ at http://kernelnewbies.org/FAQ

Reply via email to