]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - kernel/timer.c
[PATCH] sched: reduce overhead of calc_load
[linux-2.6-omap-h63xx.git] / kernel / timer.c
index 9062a82ee8ec40d9a6ef985c625bd8daaf5778c5..6b812c04737b5b611c9d40257f8c3b28292955c4 100644 (file)
@@ -825,7 +825,7 @@ void update_process_times(int user_tick)
  */
 static unsigned long count_active_tasks(void)
 {
-       return (nr_running() + nr_uninterruptible()) * FIXED_1;
+       return nr_active() * FIXED_1;
 }
 
 /*