[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Allocation of Kernel stack



On 8/4/06, Sandeep Kumar <sandeepksinha@xxxxxxxxx> wrote:
Can anyone just point me out to the kernel source , in fork.c where
the kerenel stack is allocated per processs.


see the dup_task_struct() function in fork.c. its at the following link: http://lxr.linux.no/source/kernel/fork.c#L145

regards,
Gaurav



Thanks in advance. -- Regards, Sandeep





Winners expect to win in advance. Life is a self-fulfilling prophecy.

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/




--
Gaurav
Email: gauravd.chd@xxxxxxxxx
--------------------------------------------
Read my articles at: http://lkdp.blogspot.com
--------------------------------------------
Easy to get air tickets at affordable price,
US to India Air Tickets: www.Ritz-Travel.com
Call at 001-503-848-2299 or mail at info@xxxxxxxxxxxxxxx
--------------------------------------------

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/