Re: [patch] get_request starvation fix

Rik van Riel
2002-02-08T11:38:30Z

On Fri, 8 Feb 2002, Andrew Morton wrote:

> + * This all assumes that the rate of taking requests is much, much higher
> + * than the rate of releasing them. Which is very true.

This is not necessarily true for read requests.

If each read request is synchronous and the process will
generate the next read request after the current one
has finished, then it's quite possible to clog up the
queue with read requests which are generated at exactly
the same rate as they're processed.

Couldn't this still cause starvation, even with your patch?

regards,

Rik
--
"Linux holds advantages over the single-vendor commercial OS"
-- Microsoft's "Competing with Linux" document

http://www.surriel.com/ http://distro.conectiva.com/