[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <46D10721.7070406@redhat.com>
Date: Sun, 26 Aug 2007 00:52:49 -0400
From: Rik van Riel <riel@...hat.com>
To: Christoph Lameter <clameter@....com>
CC: Peter Zijlstra <peterz@...radead.org>, linux-mm@...ck.org,
linux-kernel@...r.kernel.org
Subject: Re: [RFC 0/7] Postphone reclaim laundry to write at high water marks
Christoph Lameter wrote:
> On Wed, 22 Aug 2007, Peter Zijlstra wrote:
>
>>> That is an extreme case that AFAIK we currently ignore and could be
>>> avoided with some effort.
>> Its not extreme, not even rare, and its handled now. Its what
>> PF_MEMALLOC is for.
>
> No its not. If you have all pages allocated as anonymous pages and your
> writeout requires more pages than available in the reserves then you are
> screwed either way regardless if you have PF_MEMALLOC set or not.
Only if the _first_ writeout needs more pages.
If the sum of all writeouts need more pages than you have
available, that is fine. After all, buffer heads and some
other metadata is freed on IO completion.
Recursive reclaim will also be able to free the data pages
after IO completion, and really fix the problem.
--
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.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists