I think its sched_fair.c -- Thank you, Dilip -----Original Message----- From: "Robert P. J. Day" <rpjday@xxxxxxxxxxxxxx> Date: Thu, 17 May 2012 23:04:46 To: <kernelnewbies@xxxxxxxxxxxxxxxxx> Subject: where is the formula for calculating kernel process priority? in which source file is the actual formula for calculating a process' priority based on its niceness, behaviour, etc? thanks. rday -- ======================================================================== Robert P. J. Day Ottawa, Ontario, CANADA http://crashcourse.ca Twitter: http://twitter.com/rpjday LinkedIn: http://ca.linkedin.com/in/rpjday ======================================================================== _______________________________________________ Kernelnewbies mailing list Kernelnewbies@xxxxxxxxxxxxxxxxx http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies _______________________________________________ Kernelnewbies mailing list Kernelnewbies@xxxxxxxxxxxxxxxxx http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies