From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Tue, 13 May 2008 11:09:02 +0900 From: KAMEZAWA Hiroyuki Subject: Re: [PATCH 1/4] [mm] buddy page allocator: add tunable big order allocation Message-Id: <20080513110902.80a87ac9.kamezawa.hiroyu@jp.fujitsu.com> In-Reply-To: <1210588325-11027-2-git-send-email-cooloney@kernel.org> References: <1210588325-11027-1-git-send-email-cooloney@kernel.org> <1210588325-11027-2-git-send-email-cooloney@kernel.org> 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: linux-kernel@vger.kernel.org, linux-mm@kvack.org, dwmw2@infradead.org, Michael Hennerich List-ID: 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 ? > --- > init/Kconfig | 9 +++++++++ > mm/page_alloc.c | 2 +- > 2 files changed, 10 insertions(+), 1 deletions(-) > > diff --git a/init/Kconfig b/init/Kconfig > index 6135d07..b6ff75b 100644 > --- a/init/Kconfig > +++ b/init/Kconfig > @@ -742,6 +742,15 @@ config SLUB_DEBUG > SLUB sysfs support. /sys/slab will not exist and there will be > no support for cache validation etc. > > +config BIG_ORDER_ALLOC_NOFAIL_MAGIC > + int "Big Order Allocation No FAIL Magic" > + depends on EMBEDDED > + range 3 10 > + default 3 > + help > + Let big-order allocations loop until memory gets free. Specified Value > + expresses the order. > + I think it's better to add a text to explain why this is for EMBEDED. 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