From patchwork Thu May 13 07:11:17 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Magnus Damm X-Patchwork-Id: 99239 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 o4D7A7db010018 for ; Thu, 13 May 2010 07:10:07 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752529Ab0EMHKG (ORCPT ); Thu, 13 May 2010 03:10:06 -0400 Received: from mail-pz0-f204.google.com ([209.85.222.204]:51767 "EHLO mail-pz0-f204.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752132Ab0EMHKE (ORCPT ); Thu, 13 May 2010 03:10:04 -0400 Received: by pzk42 with SMTP id 42so540429pzk.4 for ; Thu, 13 May 2010 00:10:04 -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 :subject; bh=pcin6a79aLxUlpn0SOjaLsSyxDgCX9L3UnECYNbmJzc=; b=sqe9xI4vH+feVY71zvWR5GBlgsSfFJ5+3GNhW2E5/WHoGdm/myHc6u8tioJImmu+Hf sZMsbjUSwmVpb8w1Byedppj1Gk5NdIGLFdXWC6VI5WVJfHzNDuh+5s7LzxQYQ+bG9sDM TNXplbU3j5U9aXlmr/pSO6cvlQLjU3+53dYPQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:date:message-id:subject; b=oSh7cIe1bm6u6jznWr4Be/0PLkCLnPD4aQ72HcgzU6p96NoohQ3Yg+bpm43GrxFzSZ 4v7GFzSCpfMPRbnFLmmaKErL/x0KR0jbNdgyM8FRcbYTEhc9Jr8mLfDOXeP/9EJRwQq1 NNYiOwrRqqo27b7iKR8ZmvLowshjhxKlVesf0= Received: by 10.115.101.14 with SMTP id d14mr6825873wam.176.1273734604384; Thu, 13 May 2010 00:10:04 -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 c22sm8222141wam.6.2010.05.13.00.10.02 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 13 May 2010 00:10:03 -0700 (PDT) From: Magnus Damm To: linux@arm.linux.org.uk Cc: Magnus Damm , lethal@linux-sh.org, linux-arm-kernel@lists.infradead.org, linux-sh@vger.kernel.org Date: Thu, 13 May 2010 16:11:17 +0900 Message-Id: <20100513071117.27899.94230.sendpatchset@t400s> Subject: [PATCH] ARM: CONFG_FORCE_MAX_ZONEORDER update for SH-Mobile ARM 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]); Thu, 13 May 2010 07:10:07 +0000 (UTC) --- 0001/arch/arm/Kconfig +++ work/arch/arm/Kconfig 2010-05-13 15:57:19.000000000 +0900 @@ -1076,11 +1076,6 @@ endmenu source "arch/arm/common/Kconfig" -config FORCE_MAX_ZONEORDER - int - depends on SA1111 - default "9" - menu "Bus support" config ARM_AMBA @@ -1337,6 +1332,22 @@ config HW_PERF_EVENTS source "mm/Kconfig" +config FORCE_MAX_ZONEORDER + int "Maximum zone order" if ARCH_SHMOBILE + range 11 64 if ARCH_SHMOBILE + default "9" if SA1111 + 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. + config LEDS bool "Timer and CPU usage LEDs" depends on ARCH_CDB89712 || ARCH_EBSA110 || \