From patchwork Wed May 12 08:34:58 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Magnus Damm X-Patchwork-Id: 98943 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.3/8.14.3) with ESMTP id o4C8XjWS027455 for ; Wed, 12 May 2010 08:33:47 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754688Ab0ELIdq (ORCPT ); Wed, 12 May 2010 04:33:46 -0400 Received: from mail-pw0-f46.google.com ([209.85.160.46]:46769 "EHLO mail-pw0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753524Ab0ELIdp (ORCPT ); Wed, 12 May 2010 04:33:45 -0400 Received: by mail-pw0-f46.google.com with SMTP id 5so2800454pwi.19 for ; Wed, 12 May 2010 01:33:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:cc:date:message-id :in-reply-to:references:subject; bh=C28fqJwJ4Xb5OhZ9gtdETOfvebtjLCWys8FxHqRizCg=; b=dzlaCEKcmCNAokAg3mnDGIyh8zz0IoexE646ttxJR1bBVpC0fnDy45oJN3Lzc2YTiE xNs19NxN2s2KOphEV8wtGneRiH8xl2mIb5HTRZRmUFtb6gygSKD0x5EpfOdvCsoGKMe3 VWGbCjiNHhGFeR9DTLqmKBRk7ZY6+FDdwrqzE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:date:message-id:in-reply-to:references:subject; b=WTVWrEA0oP/mRLxkKb+7Wp+Prsgqe8ARilbHdJ/Ry1POw9rtkXib+KefyoGqQ5nrbl lJunjaN7FD8cprMMx04a+QvuR8nDHiIcpXD6sx4sypj0fQT3XRh7bSreShCWLezx9G8V 0bV9+Uryw54ITpETAJc4Dx0jfWY2MzTzWg9mE= Received: by 10.115.132.31 with SMTP id j31mr5562970wan.114.1273653225290; Wed, 12 May 2010 01:33:45 -0700 (PDT) Received: from [127.0.0.1] (49.14.32.202.bf.2iij.net [202.32.14.49]) by mx.google.com with ESMTPS id n32sm42649725wae.22.2010.05.12.01.33.44 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 12 May 2010 01:33:44 -0700 (PDT) From: Magnus Damm To: linux-sh@vger.kernel.org Cc: Magnus Damm , lethal@linux-sh.org Date: Wed, 12 May 2010 17:34:58 +0900 Message-Id: <20100512083458.9395.98203.sendpatchset@t400s> In-Reply-To: <20100512083443.9395.90768.sendpatchset@t400s> References: <20100512083443.9395.90768.sendpatchset@t400s> Subject: [PATCH 02/05] ARM: mach-shmobile: Add CONFIG_FORCE_MAX_ZONEORDER Sender: linux-sh-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter.kernel.org [140.211.167.41]); Wed, 12 May 2010 08:33:47 +0000 (UTC) --- 0001/arch/arm/mach-shmobile/Kconfig +++ work/arch/arm/mach-shmobile/Kconfig 2010-05-12 15:21:55.000000000 +0900 @@ -69,6 +69,21 @@ config MEMORY_SIZE be overridden as normal by the 'mem=' argument on the kernel command line. +config FORCE_MAX_ZONEORDER + int "Maximum zone order" + range 11 64 + default "11" + help + The kernel memory allocator divides physically contiguous memory + blocks into "zones", where each zone is a power of two number of + pages. This option selects the largest power of two that the kernel + keeps in the memory allocator. If you need to allocate very large + blocks of physically contiguous memory, then you may need to + increase this value. + + This config option is actually maximum order plus one. For example, + a value of 11 means that the largest free memory block is 2^10 pages. + endmenu menu "Timer and clock configuration"