From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Wed, 14 May 2008 14:04:23 +0900 From: KAMEZAWA Hiroyuki Subject: Re: [PATCH 1/4] [mm] buddy page allocator: add tunable big order allocation Message-Id: <20080514140423.4c004019.kamezawa.hiroyu@jp.fujitsu.com> In-Reply-To: <386072610805132122l5d017fe1u404c38ea3f05664a@mail.gmail.com> References: <1210588325-11027-1-git-send-email-cooloney@kernel.org> <1210588325-11027-2-git-send-email-cooloney@kernel.org> <20080513110902.80a87ac9.kamezawa.hiroyu@jp.fujitsu.com> <8A42379416420646B9BFAC9682273B6D015F52E4@limkexm3.ad.analog.com> <386072610805132122l5d017fe1u404c38ea3f05664a@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-linux-mm@kvack.org Return-Path: To: Bryan Wu Cc: "Hennerich, Michael" , linux-kernel@vger.kernel.org, linux-mm@kvack.org, dwmw2@infradead.org List-ID: On Wed, 14 May 2008 12:22:35 +0800 "Bryan Wu" wrote: > On Tue, May 13, 2008 at 7:42 PM, Hennerich, Michael > wrote: > > > > > > >-----Original Message----- > > >From: KAMEZAWA Hiroyuki [mailto:kamezawa.hiroyu@jp.fujitsu.com] > > >Sent: Dienstag, 13. Mai 2008 04:09 > > >To: Bryan Wu > > >Cc: linux-kernel@vger.kernel.org; linux-mm@kvack.org; > > dwmw2@infradead.org; > > >Michael Hennerich > > >Subject: Re: [PATCH 1/4] [mm] buddy page allocator: add tunable big > > order > > >allocation > > > > > >On Mon, 12 May 2008 18:32:02 +0800 > > >Bryan Wu wrote: > > > > > >> From: Michael Hennerich > > >> > > >> Signed-off-by: Michael Hennerich > > >> Signed-off-by: Bryan Wu > > > > > >Does this really solve your problem ? possible hang-up is better than > > >page allocation failure ? > > > > On nommu this helped quite a bit, when we run out of memory, eaten up by > > the page cache. But yes - with this option it's likely that we sit there > > and wait form memory that might never get available. > > > > We now use a better workaround for freeing up "available" memory > > currently used as page cache. > > > > I think we should drop this patch. > > > > OK, I dropped it. And do you think the limited page_cache patch is the > replacement of this patch? > I'm not so familiar with nommu environments but have some thoughts. one idea is - use memory resource controller. but this eats much amount of GFP_KERNEL memory and maybe not useful ;) - use ZONE_MOVABLE and set lowmem_reserve_ratio value to be suitable value. then, the page cache just uses MOVABLE zone...(maybe) Thanks, -Kame -- 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