Re: VM/VFS bug with large amount of memory and file systems?

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Rik van Riel <riel@...>
Cc: Anton Altaparmakov <aia21@...>, Andrew Morton <akpm@...>, Peter Zijlstra <peterz@...>, Linux Kernel Mailing List <linux-kernel@...>, Linux Memory Management List <linux-mm@...>, <marc.smith@...>
Date: Monday, September 17, 2007 - 1:12 pm

On Tuesday 18 September 2007 03:04, Rik van Riel wrote:

Sorry, yeah I had it the wrong way around. Your patch would not
increase the probability of this problem.

We could have some logic in there to scan highmem when buffer
heads are over limit. But that really kind of sucks in that it introduces
some arbitrary point where reclaim behaviour completely changes...
Adding a shrinker for buffer heads is the "logical" approach that we
take for other non-page caches. That also kind of sucks because we
normally don't want to do this out of band buffer reclaiming and just
have it work from page reclaim (it will introduce extra locking and list
scanning).

Maybe when the machine is near OOM, we can just change the scanning
to do all zones -- a change in scanning behaviour at that point is better
than oom kill.
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
VM/VFS bug with large amount of memory and file systems?, Anton Altaparmakov, (Sat Sep 15, 3:27 am)
Re: VM/VFS bug with large amount of memory and file systems?, Anton Altaparmakov, (Mon Sep 17, 10:04 am)
Re: VM/VFS bug with large amount of memory and file systems?, Peter Zijlstra, (Mon Sep 17, 10:32 am)
Re: VM/VFS bug with large amount of memory and file systems?, Christoph Lameter, (Wed Sep 19, 7:29 pm)
Re: VM/VFS bug with large amount of memory and file systems?, Anton Altaparmakov, (Mon Sep 17, 10:09 am)
Re: VM/VFS bug with large amount of memory and file systems?, Nick Piggin, (Mon Sep 17, 1:12 pm)
Re: VM/VFS bug with large amount of memory and file systems?, Anton Altaparmakov, (Sat Sep 15, 6:50 am)
Re: VM/VFS bug with large amount of memory and file systems?, Peter Zijlstra, (Sun Sep 16, 12:16 pm)