Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S935002AbXHNTdY (ORCPT ); Tue, 14 Aug 2007 15:33:24 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1765471AbXHNTdO (ORCPT ); Tue, 14 Aug 2007 15:33:14 -0400 Received: from canuck.infradead.org ([209.217.80.40]:51625 "EHLO canuck.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1764368AbXHNTdN (ORCPT ); Tue, 14 Aug 2007 15:33:13 -0400 Subject: Re: [RFC 0/3] Recursive reclaim (on __PF_MEMALLOC) From: Peter Zijlstra To: Christoph Lameter Cc: linux-mm@kvack.org, linux-kernel@vger.kernel.org In-Reply-To: References: <20070814142103.204771292@sgi.com> <1187102203.6114.2.camel@twins> Content-Type: text/plain Date: Tue, 14 Aug 2007 21:32:58 +0200 Message-Id: <1187119978.5337.1.camel@lappy> Mime-Version: 1.0 X-Mailer: Evolution 2.10.1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1380 Lines: 31 On Tue, 2007-08-14 at 08:29 -0700, Christoph Lameter wrote: > On Tue, 14 Aug 2007, Peter Zijlstra wrote: > > > On Tue, 2007-08-14 at 07:21 -0700, Christoph Lameter wrote: > > > The following patchset implements recursive reclaim. Recursive reclaim > > > is necessary if we run out of memory in the writeout patch from reclaim. > > > > > > This is f.e. important for stacked filesystems or anything that does > > > complicated processing in the writeout path. > > > > > > Recursive reclaim works because it limits itself to only reclaim pages > > > that do not require writeout. It will only remove clean pages from the LRU. > > > The dirty throttling of the VM during regular reclaim insures that the amount > > > of dirty pages is limited. > > > > No it doesn't. All memory can be tied up by anonymous pages - who are > > dirty by definition and are not clamped by the dirty limit. > > Ok but that could be addressed by making sure that a certain portion of > memory is reserved for clean file backed pages. Which gets us back to the initial problem of sizing this portion and ensuring it is big enough to service the need. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/