Hi Venkateswarlu,

For Better understanding of do_fork you need to see the following link

http://elinux.org/Kernel_Function_Trace

This link tell you what all kernel functions are getting called when you fork 
from userspace.

with regards
Anand Moon

________________________________
From: Anand Arumugam <anand.aru...@gmail.com>
To: Javier Martinez Canillas <martinez.jav...@gmail.com>
Cc: Kernelnewbies@kernelnewbies.org; Venkateswarlu P <p.venkatesh...@gmail.com>
Sent: Thu, June 16, 2011 6:49:51 PM
Subject: Re:

@Venkateswarlu: Henceforth, please include a subject in your email.

On Thu, Jun 16, 2011 at 7:55 AM, Javier Martinez Canillas
<martinez.jav...@gmail.com> wrote:
> On Thu, Jun 16, 2011 at 8:41 PM, Venkateswarlu P
> <p.venkatesh...@gmail.com> wrote:
>> how to understand the kernerl source  files in a simple way
>>
>>
>> what header  files i have to understand first
>>
>>
>> for example  to understand      do_fork()     function  for process
>> creation  which is defined in  kernel/fork.c
>>
>
> In the end the Linux kernel is just a big project written in C.
> Instead of asking what files do you need to understand. You should ask
> yourself what subsystem do you want to learn?
>
> Focus on functionality and browse the code to understand. As others
> pointed before there are lots of good books that will give you a high
> overview of the kernel.
>
> The first book that I recommend reading is Linux kernel development by
> Robert Love, but only if you have already read a book on operating
> system concepts. The best book for me is Andrew Tanenbaum's Modern
> Operating Systems.
>
> Hope it helps,
>
> --
> Javier Martínez Canillas
> (+34) 682 39 81 69
> PhD Student in High Performance Computing
> Computer Architecture and Operating System Department (CAOS)
> Universitat Autònoma de Barcelona
> Barcelona, Spain
>
> _______________________________________________
> Kernelnewbies mailing list
> Kernelnewbies@kernelnewbies.org
> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
  • [no subject] Venkateswarlu P
    • Re: Anuz Pratap Singh Tomar
    • Re: Javier Martinez Canillas
      • Re: Anand Arumugam
        • Re: Anand Moon
        • Re: abhijeet tripathi

Reply via email to