>>>>> "Sonawane" == Sonawane, Rahul (Rahul) <sonawane@avaya.com> writes: Sonawane> Hi, I think goodness of a process is calculated after it has Sonawane> entered the schedule. Will it happen than when it is in Sonawane> schedule the current process(prev) happens to have policy Sonawane> SCHED_FIFO and needs to go in wait queue or whatever. Thank Sonawane> you, Rahul. I'm not sure what you mean ... Policy has meaning only when choosing what process to run next, otherwise it is irrelevant - if a process want to block it blocks and that's all. So, when choosing what process to run next the scheduler considers goodness value. The goodness value takes into account the scheduling policy in a way that real-time scheduled processes always have precedence over SCHED_OTHER ones. ~velco -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/