On Tue, Mar 01, 2016 at 07:00:36AM +0530, SUNITA wrote: > There are four scheduling policies. Is it feasible if i design a scheduling > policy which will overcome the drawbacks of sched_RR. > The purpose is to reduce the number of context switches. > I have to modify fair.c That sounds like a homework question, why are you trying to do this without doing research into how it has already been solved 4 different times? Hint, if you have an Android phone, odds are one of those solutions is in the kernel in it, go get the source tree and look at the changes that were made. good luck, greg k-h _______________________________________________ Kernelnewbies mailing list Kernelnewbies@xxxxxxxxxxxxxxxxx http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies