summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorDavid Howells2006-10-03 10:13:47 +0200
committerLinus Torvalds2006-10-03 17:03:40 +0200
commit339b0c0813a257893fa84be999b9b85a50846dd8 (patch)
tree572d37248fc56d8a364540621375bf7447b248cf /arch
parent[PATCH] VFS: Make filldir_t and struct kstat deal in 64-bit inode numbers (diff)
downloadkernel-qcow2-linux-339b0c0813a257893fa84be999b9b85a50846dd8.tar.gz
kernel-qcow2-linux-339b0c0813a257893fa84be999b9b85a50846dd8.tar.xz
kernel-qcow2-linux-339b0c0813a257893fa84be999b9b85a50846dd8.zip
[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')
-rw-r--r--arch/frv/Kconfig8
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
with a lot of RAM, this can be wasteful of precious low memory.
Setting this option will put user-space page tables in high memory.
+config LARGE_ALLOCS
+ bool "Allow allocating large blocks (> 1MB) of memory"
+ help
+ Allow the slab memory allocator to keep chains for very large memory
+ sizes - up to 32MB. You may need this if your system has a lot of
+ RAM, and you need to able to allocate very large contiguous chunks.
+ If unsure, say N.
+
source "mm/Kconfig"
choice