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

Rik van Riel
2004-12-24T22:12:48Z

On Fri, 24 Dec 2004, Andrea Arcangeli wrote:

>> I am already running with akpm's total_scanned, my lowering of
>> the dirty limit for non-highmem capable mappings and my "do not
>> OOM kill if we had to skip writes due to congestion" patch.
>
> Did you apply Con's disable-swap-token leaving the sysctl to the default
> value after applying that patch?
>
> Of course I know if you don't apply Con's fix it will run oom, you don't
> need a cp for that.

The process 'dd', and all the other processes, live in
the highmem zone, which has 2.5GB of memory free. Now
tell me again why you think the swap token has any
relevance to those 950MB of pagecache that is filling
up lowmem ?

--
"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