diff options
author | Nicolas Pitre <nico@cam.org> | 2008-09-19 00:36:12 -0400 |
---|---|---|
committer | Nicolas Pitre <nico@cam.org> | 2009-03-15 21:01:22 -0400 |
commit | 053a96ca11a9785a7e63fc89eed4514a6446ec58 (patch) | |
tree | e3de5c1f5f86fb413dbb6b398181a677dc2f286d /arch | |
parent | 3f973e22160257c5bda85815be5b1540d391a671 (diff) |
[ARM] add CONFIG_HIGHMEM option
Here it is... HIGHMEM for the ARM architecture. :-)
If you don't have enough ram for highmem pages to be allocated and still
want to test this, then the cmdline option "vmalloc=" can be used with
a value large enough to force the highmem threshold down.
Successfully tested on a Marvell DB-78x00-BP Development Board with
2 GB of RAM.
Signed-off-by: Nicolas Pitre <nico@marvell.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/Kconfig | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index dbfdf87f993f..2b28786b3879 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig | |||
@@ -915,6 +915,23 @@ config NODES_SHIFT | |||
915 | default "2" | 915 | default "2" |
916 | depends on NEED_MULTIPLE_NODES | 916 | depends on NEED_MULTIPLE_NODES |
917 | 917 | ||
918 | config HIGHMEM | ||
919 | bool "High Memory Support (EXPERIMENTAL)" | ||
920 | depends on MMU && EXPERIMENTAL | ||
921 | help | ||
922 | The address space of ARM processors is only 4 Gigabytes large | ||
923 | and it has to accommodate user address space, kernel address | ||
924 | space as well as some memory mapped IO. That means that, if you | ||
925 | have a large amount of physical memory and/or IO, not all of the | ||
926 | memory can be "permanently mapped" by the kernel. The physical | ||
927 | memory that is not permanently mapped is called "high memory". | ||
928 | |||
929 | Depending on the selected kernel/user memory split, minimum | ||
930 | vmalloc space and actual amount of RAM, you may not need this | ||
931 | option which should result in a slightly faster kernel. | ||
932 | |||
933 | If unsure, say n. | ||
934 | |||
918 | source "mm/Kconfig" | 935 | source "mm/Kconfig" |
919 | 936 | ||
920 | config LEDS | 937 | config LEDS |