From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933271AbXHFVFr (ORCPT ); Mon, 6 Aug 2007 17:05:47 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1759441AbXHFVFf (ORCPT ); Mon, 6 Aug 2007 17:05:35 -0400 Received: from netops-testserver-4-out.sgi.com ([192.48.171.29]:39582 "EHLO relay.sgi.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1755453AbXHFVFe (ORCPT ); Mon, 6 Aug 2007 17:05:34 -0400 Date: Mon, 6 Aug 2007 14:05:32 -0700 (PDT) From: Christoph Lameter X-X-Sender: clameter@schroedinger.engr.sgi.com To: Peter Zijlstra cc: Matt Mackall , Daniel Phillips , linux-kernel@vger.kernel.org, linux-mm@kvack.org, David Miller , Andrew Morton , Daniel Phillips , Pekka Enberg , Lee Schermerhorn , Steve Dickson Subject: Re: [PATCH 02/10] mm: system wide ALLOC_NO_WATERMARK In-Reply-To: <1186431992.7182.33.camel@twins> Message-ID: References: <20070806102922.907530000@chello.nl> <200708061121.50351.phillips@phunq.net> <200708061148.43870.phillips@phunq.net> <20070806201257.GG11115@waste.org> <1186431992.7182.33.camel@twins> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 6 Aug 2007, Peter Zijlstra wrote: > > The solution may be as simple as configuring the reserves right and > > avoid the unbounded memory allocations. > > Which is what the next series of patches will be doing. Please do look > in detail at these networked swap patches I've been posting for the last > year or so. > > > That is possible if one > > would make sure that the network layer triggers reclaim once in a > > while. > > This does not make sense, we cannot reclaim from reclaim. But we should limit the amounts of allocation we do while performing reclaim. F.e. refilling memory pools during reclaim should be disabled.