<div dir="ltr">Do you mean process with PID 0 is the one, which runs in the background and serves the request from userland and goes to cpu_idle() if nothing to run.<div><br></div><div style>-kapil</div></div><div class="gmail_extra">
<br><br><div class="gmail_quote">On Tue, Feb 19, 2013 at 11:23 AM, Sengottuvelan S <span dir="ltr"><<a href="mailto:sengottuvelan.s@gmail.com" target="_blank">sengottuvelan.s@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>Kapil</div><div> </div><div>It runs as Background process in the kernel memory (init-process). When system calls is coming from User space/Land, there will be context switch from user to kernel space happens. I think kernel main thread serving those system calls.<br>
<br></div><div class="gmail_quote"><div><div class="h5">On Mon, Feb 18, 2013 at 9:20 PM, kapil agrawal <span dir="ltr"><<a href="mailto:kapil.agrawal81@gmail.com" target="_blank">kapil.agrawal81@gmail.com</a>></span> wrote:<br>
</div></div><blockquote style="margin:0px 0px 0px 0.8ex;padding-left:1ex;border-left-color:rgb(204,204,204);border-left-width:1px;border-left-style:solid" class="gmail_quote"><div><div class="h5">
<div dir="ltr">Hi,<div><br></div><div>How the linux kernel runs in the system after spawning the init and mounting the root FS. </div><div>Does it run as some background process ?</div><div>How it serves the system calls etc. ?</div>
<div><br></div><div>Regards</div><span><font color="#888888"><div>Kapil</div></font></span></div>
<br></div></div>_______________________________________________<br>
Kernelnewbies mailing list<br>
<a href="mailto:Kernelnewbies@kernelnewbies.org" target="_blank">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>
<br></blockquote></div><span class="HOEnZb"><font color="#888888"><br><br clear="all"><br>-- <br>Regards,<br>S. Sengottuvelan.
</font></span></blockquote></div><br></div>