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

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Rik van Riel
Date: Monday, September 17, 2007 - 10:11 am

Peter Zijlstra wrote:

I've got code for this in RHEL 3, but never bothered to
merge it upstream since I thought people with large memory
systems would be running 64 bit kernels by now.

Obviously I was wrong.  Andrew, are you interested in a
fix for this problem?

IIRC I simply kept a list of all buffer heads and walked
that to reclaim pages when the number of buffer heads is
too high (and we need memory).  This list can be maintained
in places where we already hold the lock for the buffer head
freelist, so there should be no additional locking overhead
(again, IIRC).

-- 
Politics is the struggle between those who want to make their country
the best in the world, and those who believe it already is.  Each group
calls the other unpatriotic.
-
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, 12:27 am)
Re: VM/VFS bug with large amount of memory and file systems?, Anton Altaparmakov, (Sat Sep 15, 3:50 am)
Re: VM/VFS bug with large amount of memory and file systems?, Anton Altaparmakov, (Mon Sep 17, 7:04 am)
Re: VM/VFS bug with large amount of memory and file systems?, Anton Altaparmakov, (Mon Sep 17, 7:09 am)
Re: VM/VFS bug with large amount of memory and file systems?, Rik van Riel, (Mon Sep 17, 10:11 am)
Re: VM/VFS bug with large amount of memory and file systems?, Christoph Lameter, (Wed Sep 19, 4:29 pm)