Browse Source

Explain what malloc simple is good for, and what it isn't good for.

Rob Landley 16 years ago
parent
commit
e4d1b4963d
1 changed files with 10 additions and 7 deletions
  1. 10 7
      extra/Configs/Config.in

+ 10 - 7
extra/Configs/Config.in

@@ -442,13 +442,16 @@ config MALLOC
 config MALLOC_SIMPLE
 	bool "malloc-simple"
 	help
-	  "malloc-simple" was written from scratch for uClibc, and is the
-	  simplest possible (and therefore smallest) malloc implementation.
-	  This uses only the mmap() system call to allocation memory, and does
-	  not use the brk() system call at all, making it a fine choice for
-	  MMU-less systems with very limited memory.  It is rather dumb, and
-	  certainly isn't the fastest.  But it is 100% standards compliant,
-	  thread safe, and very small.
+	  "malloc-simple" is trivially simple and slow as molasses.  It
+	  was written from scratch for uClibc, and is the simplest possible
+	  (and therefore smallest) malloc implementation.
+
+	  This uses only the mmap() system call to allocate and free memory,
+	  and does not use the brk() system call at all, making it a fine
+	  choice for MMU-less systems with very limited memory.  It's 100%
+	  standards compliant, thread safe, very small, and releases freed
+	  memory back to the OS immediately rather than keeping it in the
+	  process's heap for reallocation.  It is also VERY SLOW.
 
 config MALLOC_STANDARD
 	bool "malloc-standard"