lkml.org 
[lkml]   [1999]   [May]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Overscheduling DOES happen with high web server load.

On Fri, 7 May 1999, Rik van Riel wrote:

> Schedule_timeout() can be replaced by a simple resorting of
> the heap. Basically we only need to remove processes from
> the heap if they do blocking I/O or wait for a signal
> (otherwise they would clutter up the heap).

schedule_timeout() is not really expected to have high performance. Its
functionality was moved out of the main scheduler partly for this reason.
Btw., the timer code (which is used by schedule_timeout() intrnally) has a
sort of heap structure already.

-- mingo


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

\
 
 \ /
  Last update: 2005-03-22 13:51    [W:0.059 / U:0.228 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site