<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:tahoma, new york, times, serif;font-size:12pt"><DIV>Hi Venkateswarlu,</DIV>
<DIV> </DIV>
<DIV>For Better understanding of do_fork you need to see the following link</DIV>
<DIV> </DIV>
<DIV><A href="http://elinux.org/Kernel_Function_Trace">http://elinux.org/Kernel_Function_Trace</A></DIV>
<DIV> </DIV>
<DIV>This link tell you what all kernel functions are getting called when you fork from userspace.</DIV>
<DIV> </DIV>
<DIV>with regards</DIV>
<DIV>Anand Moon</DIV>
<DIV style="FONT-FAMILY: tahoma, new york, times, serif; FONT-SIZE: 12pt">
<DIV style="FONT-FAMILY: verdana, helvetica, sans-serif; FONT-SIZE: 12pt"><FONT size=2 face=Tahoma>
<HR SIZE=1>
<B><SPAN style="FONT-WEIGHT: bold">From:</SPAN></B> Anand Arumugam <anand.arumug@gmail.com><BR><B><SPAN style="FONT-WEIGHT: bold">To:</SPAN></B> Javier Martinez Canillas <martinez.javier@gmail.com><BR><B><SPAN style="FONT-WEIGHT: bold">Cc:</SPAN></B> Kernelnewbies@kernelnewbies.org; Venkateswarlu P <p.venkatesh551@gmail.com><BR><B><SPAN style="FONT-WEIGHT: bold">Sent:</SPAN></B> Thu, June 16, 2011 6:49:51 PM<BR><B><SPAN style="FONT-WEIGHT: bold">Subject:</SPAN></B> Re:<BR></FONT><BR>@Venkateswarlu: Henceforth, please include a subject in your email.<BR><BR>On Thu, Jun 16, 2011 at 7:55 AM, Javier Martinez Canillas<BR><<A href="mailto:martinez.javier@gmail.com" ymailto="mailto:martinez.javier@gmail.com">martinez.javier@gmail.com</A>> wrote:<BR>> On Thu, Jun 16, 2011 at 8:41 PM, Venkateswarlu P<BR>> <<A href="mailto:p.venkatesh551@gmail.com" ymailto="mailto:p.venkatesh551@gmail.com">p.venkatesh551@gmail.com</A>>
wrote:<BR>>> how to understand the kernerl source files in a simple way<BR>>><BR>>><BR>>> what header files i have to understand first<BR>>><BR>>><BR>>> for example to understand do_fork() function for process<BR>>> creation which is defined in kernel/fork.c<BR>>><BR>><BR>> In the end the Linux kernel is just a big project written in C.<BR>> Instead of asking what files do you need to understand. You should ask<BR>> yourself what subsystem do you want to learn?<BR>><BR>> Focus on functionality and browse the code to understand. As others<BR>> pointed before there are lots of good books that will give you a high<BR>> overview of the kernel.<BR>><BR>> The first book that I recommend reading is Linux kernel development by<BR>> Robert Love, but only if you have already read a book on
operating<BR>> system concepts. The best book for me is Andrew Tanenbaum's Modern<BR>> Operating Systems.<BR>><BR>> Hope it helps,<BR>><BR>> --<BR>> Javier Martínez Canillas<BR>> (+34) 682 39 81 69<BR>> PhD Student in High Performance Computing<BR>> Computer Architecture and Operating System Department (CAOS)<BR>> Universitat Auṭnoma de Barcelona<BR>> Barcelona, Spain<BR>><BR>> _______________________________________________<BR>> Kernelnewbies mailing list<BR>> <A href="mailto:Kernelnewbies@kernelnewbies.org" ymailto="mailto:Kernelnewbies@kernelnewbies.org">Kernelnewbies@kernelnewbies.org</A><BR>> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies<BR>><BR><BR>_______________________________________________<BR>Kernelnewbies mailing list<BR><A href="mailto:Kernelnewbies@kernelnewbies.org" ymailto="mailto:Kernelnewbies@kernelnewbies.org">Kernelnewbies@kernelnewbies.org</A><BR><A
href="http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies" target=_blank>http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies</A><BR></DIV></DIV></div></body></html>