Re: [PATCH][1/2] adjust dirty threshold for lowmem-only mappings

Rik van Riel
2004-12-20T21:27:29Z

On Mon, 20 Dec 2004, Andrew Morton wrote:

> We haven't been incrementing local variable total_scanned since the
> scan_control stuff went in. That broke kswapd throttling.

That would explain the "kswapd uses heaps of CPU time when
starting a memory hungry task", too ...

--
"Debugging is twice as hard as writing the code in the first place.
Therefore, if you write the code as cleverly as possible, you are,
by definition, not smart enough to debug it." - Brian W. Kernighan