lkml.org 
[lkml]   [2000]   [Aug]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjectavenrun and TASK_UNINTERRUPTIBLE
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/

\
 
 \ /
  Last update: 2005-03-22 12:38    [W:0.020 / U:12.140 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site