Re: throttling dirtiers

Rik van Riel
2002-07-31T21:35:25Z

On Wed, 31 Jul 2002, Andrew Morton wrote:

> > First off, make it obvious where we block in the allocation path (pawning
> > off all memory reaping to kswapd et al is an easy first step here). Then
> > make allocators cycle through on a FIFO basis by using something like the
> > page reservation patch I came up with a while ago. That'll give us an
> > easy place to change scheduling behaviour.
>
> None of that will preferentially throttle the source of
> dirty pages, which seems a good thing to do?

But it will throttle the page dirtiers we care about, ie. the
ones allocating new memory.

I'm not sure we care too much about re-dirtying pagecache pages;
if that is happening we want to keep those pages resident anyway.

regards,

Rik
--
Bravely reimplemented by the knights who say "NIH".

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