avenrun and TASK_UNINTERRUPTIBLE

From: Jim Garlick (garlick@llnl.gov)
Date: Tue Aug 29 2000 - 14:17:15 EST


Hi,
                                                                                
Why does (2.2.14) linux/kernel/sched.c::count_active_tasks() consider tasks
sleeping with the TASK_UNINTERRUPTIBLE flag to be the same as TASK_RUNNABLE
for the avenrun computation? (In 2.3.x the code is in linux/kernel/timer.c)
                                                                                
It would seem that a sleeping task shouldn't contribute to the load avg...
                                                                                
Thanks in advance,
                                                                                
Jim Garlick

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Aug 31 2000 - 21:00:24 EST