From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Tue, 21 Aug 2007 14:00:28 -0700 (PDT) From: Christoph Lameter Subject: Re: [RFC 5/7] Laundry handling for direct reclaim In-Reply-To: <20070821151907.GM11329@skynet.ie> Message-ID: References: <20070820215040.937296148@sgi.com> <20070820215316.994224842@sgi.com> <20070821151907.GM11329@skynet.ie> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-linux-mm@kvack.org Return-Path: To: Mel Gorman Cc: linux-mm@kvack.org, linux-kernel@vger.kernel.org, akpm@linux-foundation.org, dkegel@google.com, Peter Zijlstra , David Miller , Nick Piggin List-ID: On Tue, 21 Aug 2007, Mel Gorman wrote: > > + nr_reclaimed += shrink_zones(priority, zones, &sc, &laundry); > > shrink_slab(sc.nr_scanned, gfp_mask, lru_pages); > > if (reclaim_state) { > > nr_reclaimed += reclaim_state->reclaimed_slab; > > reclaim_state->reclaimed_slab = 0; > > } > > + > > total_scanned += sc.nr_scanned; > > + > > Could this not isolate a load of dirty pages on the laundry list and then > shortly later go to sleep in congestion_wait() ? It would appear that with > writeout deferred that the going to sleep is going to do nothing to help > the situation. Yep that seems to be the problem that Peter saw. We need to throttle later. -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org