[PATCH] sched: reduce overhead of calc_load
[pandora-kernel.git] / kernel / timer.c
index 9062a82..6b812c0 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;
 }
 
 /*