I have program as shown below, main() { while(1); } it is infinite loop without exit condition. So the program will consume all the CPU or hogs the CPU. How this scenarios is handled in both preemtive and non-preemtive schedular. Whether this process will be killed after some time by OS. If yes which process does this and how it does since that process wonot get CPU time. Thanks Manjunath Naik -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/