FRV: Permit large kmalloc allocations
PATCH 1/1 FRV: Permit large kmalloc allocations
From: David Howells <[email protected]>
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 <[email protected]>
---
arch/frv/Kconfig | 8 ++++++++ 1 files changed, 8 insertions(+), 0 deletions(-)
arch/frv/Kconfig +8 -0
@@ -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 - upto 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
Quoted 16 lines · On Mon, 02 Oct 2006 16:37:08 +0100 David Howells wrote:
From: David Howells <[email protected]>
Permit
kmalloc()to make allocations of up to 32MB if so configured. This may be useful under NOMMU conditions wherevmalloc()can't do this.Signed-off-by David Howells <[email protected]>---
arch/frv/Kconfig | 8 ++++++++ 1 files changed, 8 insertions(+), 0 deletions(-)arch/frv/Kconfig +0
-0
arch/frv/Kconfig config HIGHPTE · line 93
Quoted 8 lines
arch/frv/Kconfig +5
-0@@ -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 - upto 32MB. You may need this if your system has a lot of RAM,
up to (2 words)
arch/frv/Kconfig config HIGHPTE · line 97
Quoted 4 lines
arch/frv/Kconfig +3
-0+ and you need to able to allocate very large contiguous chunks. If + unsure, say N. + source "mm/Kconfig"
---
~Randy
Quoted 3 lines · Randy Dunlap
arch/frv/Kconfig config HIGHPTE · line 93
Quoted 1 line
arch/frv/Kconfig +1
-0+ sizes - upto 32MB. You may need this if your system has a lot of RAM,up to (2 words)
Altered, thanks.
David