mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] FRV: Permit large kmalloc allocations
@ 2006-10-02 15:37 David Howells
  2006-10-02 15:57 ` Randy Dunlap
  2006-10-02 16:27 ` David Howells
  0 siblings, 2 replies; 3+ messages in thread
From: David Howells @ 2006-10-02 15:37 UTC (permalink / raw)
  To: akpm; +Cc: dhowells, linux-kernel

From: David Howells <dhowells@redhat.com>

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>
---

 arch/frv/Kconfig |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/arch/frv/Kconfig b/arch/frv/Kconfig
index f7b171b..69f9846 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 - 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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2006-10-02 16:27 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-10-02 15:37 [PATCH] FRV: Permit large kmalloc allocations David Howells
2006-10-02 15:57 ` Randy Dunlap
2006-10-02 16:27 ` David Howells

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®