On 8/15/05, Hemant Mohapatra <hemant.mohapatra@xxxxxxxxx> wrote: > The child-stack will be stored within the parent process' virtual > memory. If you read the man pages for copy_thread, the arguments ... > 3) clear the switch-stack structure from the kernel space of process-A > 4) return from syscall Thank you Hemant for such a clear discussion. I'll put it down in my HOWTO section :) Most of my doubts are cleared now and for the rest, I'll hit 'em books. > > So all the kernel variables "Stay" in the kernel stack all the time > > and so do their mappings into virtual memory? > > AFAIK, the process related kernel variables are overwritten at every > context switch. Please CMIIW. If someone could please confirm this either ways, that'd be great. Thanks, - TD -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/