diff options
author | David Howells <dhowells@redhat.com> | 2006-10-03 04:13:47 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-10-03 11:03:40 -0400 |
commit | 339b0c0813a257893fa84be999b9b85a50846dd8 (patch) | |
tree | 572d37248fc56d8a364540621375bf7447b248cf /arch/frv | |
parent | afefdbb28a0a2af689926c30b94a14aea6036719 (diff) |
[PATCH] FRV: Permit large kmalloc allocations [try #2]
Permit kmalloc() to make allocations of up to 32MB if so configured. This
may be useful under NOMMU conditions where vmalloc() can't do this.
Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch/frv')
-rw-r--r-- | arch/frv/Kconfig | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/frv/Kconfig b/arch/frv/Kconfig index f7b171b92ea2..cf1c446e003a 100644 --- a/arch/frv/Kconfig +++ b/arch/frv/Kconfig | |||
@@ -86,6 +86,14 @@ config HIGHPTE | |||
86 | with a lot of RAM, this can be wasteful of precious low memory. | 86 | with a lot of RAM, this can be wasteful of precious low memory. |
87 | Setting this option will put user-space page tables in high memory. | 87 | Setting this option will put user-space page tables in high memory. |
88 | 88 | ||
89 | config LARGE_ALLOCS | ||
90 | bool "Allow allocating large blocks (> 1MB) of memory" | ||
91 | help | ||
92 | Allow the slab memory allocator to keep chains for very large memory | ||
93 | sizes - up to 32MB. You may need this if your system has a lot of | ||
94 | RAM, and you need to able to allocate very large contiguous chunks. | ||
95 | If unsure, say N. | ||
96 | |||
89 | source "mm/Kconfig" | 97 | source "mm/Kconfig" |
90 | 98 | ||
91 | choice | 99 | choice |