diff options
author | Magnus Damm <magnus.damm@gmail.com> | 2010-07-05 05:00:11 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2010-07-09 09:41:35 -0400 |
commit | c1b2d9704c77ddaec46d5d681e1360ac40268743 (patch) | |
tree | 036c7d36b1f245c918f016725c0a9f4dd0fbc673 /arch/arm/Kconfig | |
parent | 5aaf254409f8d58229107b59507a8235b715a960 (diff) |
ARM: 6206/1: CONFIG_FORCE_MAX_ZONEORDER update for SH-Mobile ARM
Allow SH-Mobile ARM users to adjust FORCE_MAX_ZONEORDER.
The Kconfig entry is taken from SH and non-4K page size
stuff has been trimmed away. For now only SH-Mobile ARM is
allowed to change this variable, SA1111 configs are kept at
"9" and the rest at "11".
CONFIG_FORCE_MAX_ZONEORDER lets the user tweak the maximum
amount of physically contiguous memory that can be allocated
by the kernel.
Signed-off-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/Kconfig')
-rw-r--r-- | arch/arm/Kconfig | 21 |
1 files changed, 16 insertions, 5 deletions
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index aa738aa70c78..5f3a9da6da07 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig | |||
@@ -1031,11 +1031,6 @@ endmenu | |||
1031 | 1031 | ||
1032 | source "arch/arm/common/Kconfig" | 1032 | source "arch/arm/common/Kconfig" |
1033 | 1033 | ||
1034 | config FORCE_MAX_ZONEORDER | ||
1035 | int | ||
1036 | depends on SA1111 | ||
1037 | default "9" | ||
1038 | |||
1039 | menu "Bus support" | 1034 | menu "Bus support" |
1040 | 1035 | ||
1041 | config ARM_AMBA | 1036 | config ARM_AMBA |
@@ -1304,6 +1299,22 @@ config SPARSE_IRQ | |||
1304 | 1299 | ||
1305 | source "mm/Kconfig" | 1300 | source "mm/Kconfig" |
1306 | 1301 | ||
1302 | config FORCE_MAX_ZONEORDER | ||
1303 | int "Maximum zone order" if ARCH_SHMOBILE | ||
1304 | range 11 64 if ARCH_SHMOBILE | ||
1305 | default "9" if SA1111 | ||
1306 | default "11" | ||
1307 | help | ||
1308 | The kernel memory allocator divides physically contiguous memory | ||
1309 | blocks into "zones", where each zone is a power of two number of | ||
1310 | pages. This option selects the largest power of two that the kernel | ||
1311 | keeps in the memory allocator. If you need to allocate very large | ||
1312 | blocks of physically contiguous memory, then you may need to | ||
1313 | increase this value. | ||
1314 | |||
1315 | This config option is actually maximum order plus one. For example, | ||
1316 | a value of 11 means that the largest free memory block is 2^10 pages. | ||
1317 | |||
1307 | config LEDS | 1318 | config LEDS |
1308 | bool "Timer and CPU usage LEDs" | 1319 | bool "Timer and CPU usage LEDs" |
1309 | depends on ARCH_CDB89712 || ARCH_EBSA110 || \ | 1320 | depends on ARCH_CDB89712 || ARCH_EBSA110 || \ |