From: David Howells 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 Signed-off-by: Andrew Morton --- arch/frv/Kconfig | 8 ++++++++ 1 file changed, 8 insertions(+) diff -puN arch/frv/Kconfig~frv-permit-large-kmalloc-allocations arch/frv/Kconfig --- a/arch/frv/Kconfig~frv-permit-large-kmalloc-allocations +++ a/arch/frv/Kconfig @@ -90,6 +90,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 _