login
Header Space

 
 

[patch 21/21] slab defrag: Obsolete SLAB

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <akpm@...>
Cc: <linux-kernel@...>, <linux-fsdevel@...>, Mel Gorman <mel@...>, <andi@...>, Rik van Riel <riel@...>, Pekka Enberg <penberg@...>, <mpm@...>
Date: Friday, May 9, 2008 - 11:08 pm

Slab defragmentation introduces new functionality not supported by SLAB and
SLOB.

Make slab depend on EXPERIMENTAL and note its obsoleteness and that
various functionality is not supported by SLAB.

Also update SLOB's description a bit to indicate that certain OS
support is limited by design.

Signed-off-by: Christoph Lameter <clameter@sgi.com>

---
 init/Kconfig |   19 +++++++++++++------
 1 file changed, 13 insertions(+), 6 deletions(-)

Index: linux-2.6/init/Kconfig
===================================================================
--- linux-2.6.orig/init/Kconfig	2008-05-09 18:41:41.000000000 -0700
+++ linux-2.6/init/Kconfig	2008-05-09 18:46:13.000000000 -0700
@@ -749,12 +749,16 @@ choice
 	   This option allows to select a slab allocator.
 
 config SLAB
-	bool "SLAB"
+	bool "SLAB (Obsolete)"
+	depends on EXPERIMENTAL
 	help
-	  The regular slab allocator that is established and known to work
-	  well in all environments. It organizes cache hot objects in
-	  per cpu and per node queues. SLAB is the default choice for
-	  a slab allocator.
+	  The old slab allocator that is being replaced by SLUB.
+	  SLAB does not support slab defragmentation and has limited
+	  debugging support. There is no sysfs support for /sys/kernel/slab.
+	  SLAB requires order 1 allocations for some caches which may under
+	  extreme circumstances fail. New general object debugging methods
+	  (such as kmemcheck) do not support SLAB. The code is complex,
+	  difficult to comprehend and has a history of subtle bugs.
 
 config SLUB
 	bool "SLUB (Unqueued Allocator)"
@@ -771,7 +775,10 @@ config SLOB
 	help
 	   SLOB replaces the stock allocator with a drastically simpler
 	   allocator. SLOB is generally more space efficient but
-	   does not perform as well on large systems.
+	   does not perform as well on large systems. SLOBs functionality
+	   is limited by design (no sysfs support, no defrag, no debugging
+	   etc).
+
 
 endchoice
 

-- 
--
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[patch 21/21] slab defrag: Obsolete SLAB, Christoph Lameter, (Fri May 9, 11:08 pm)
Re: [patch 21/21] slab defrag: Obsolete SLAB, Andi Kleen, (Sat May 10, 5:53 am)
Re: [patch 21/21] slab defrag: Obsolete SLAB, Rik van Riel, (Sat May 10, 10:15 pm)
Re: [patch 21/21] slab defrag: Obsolete SLAB, KOSAKI Motohiro, (Mon May 12, 3:38 am)
Re: [patch 21/21] slab defrag: Obsolete SLAB, Pekka Enberg, (Mon May 12, 3:54 am)
Re: [patch 21/21] slab defrag: Obsolete SLAB, Christoph Lameter, (Wed May 14, 1:29 pm)
Re: [patch 21/21] slab defrag: Obsolete SLAB, Andi Kleen, (Wed May 14, 1:49 pm)
Re: [patch 21/21] slab defrag: Obsolete SLAB, Christoph Lameter, (Wed May 14, 2:05 pm)
Re: [patch 21/21] slab defrag: Obsolete SLAB, Christoph Lameter, (Wed May 14, 4:46 pm)
Re: [patch 21/21] slab defrag: Obsolete SLAB, Matthew Wilcox, (Wed May 14, 4:58 pm)
Re: [patch 21/21] slab defrag: Obsolete SLAB, Christoph Lameter, (Wed May 14, 5:00 pm)
Re: [patch 21/21] slab defrag: Obsolete SLAB, Matthew Wilcox, (Wed May 14, 5:21 pm)
Re: [patch 21/21] slab defrag: Obsolete SLAB, Christoph Lameter, (Wed May 14, 5:33 pm)
Re: [patch 21/21] slab defrag: Obsolete SLAB, Matthew Wilcox, (Wed May 14, 5:43 pm)
Re: [patch 21/21] slab defrag: Obsolete SLAB, Christoph Lameter, (Wed May 14, 5:53 pm)
Re: [patch 21/21] slab defrag: Obsolete SLAB, Matthew Wilcox, (Wed May 14, 6:00 pm)
Re: [patch 21/21] slab defrag: Obsolete SLAB, Christoph Lameter, (Wed May 14, 6:34 pm)
Re: [patch 21/21] slab defrag: Obsolete SLAB, Christoph Lameter, (Wed May 14, 6:32 pm)
Re: [patch 21/21] slab defrag: Obsolete SLAB, Christoph Lameter, (Wed May 14, 2:03 pm)
Re: [patch 21/21] slab defrag: Obsolete SLAB, Zhang, Yanmin, (Wed May 14, 11:26 pm)
Re: [patch 21/21] slab defrag: Obsolete SLAB, Christoph Lameter, (Thu May 15, 1:05 pm)
Re: [patch 21/21] slab defrag: Obsolete SLAB, Zhang, Yanmin, (Fri May 16, 1:16 am)
Re: [patch 21/21] slab defrag: Obsolete SLAB, Matthew Wilcox, (Thu May 15, 1:49 pm)
Re: [patch 21/21] slab defrag: Obsolete SLAB, Vegard Nossum, (Thu May 15, 2:29 pm)
Re: [patch 21/21] slab defrag: Obsolete SLAB, Eric Dumazet, (Thu May 15, 2:19 pm)
Re: [patch 21/21] slab defrag: Obsolete SLAB, Christoph Lameter, (Thu May 15, 1:58 pm)
Re: [patch 21/21] slab defrag: Obsolete SLAB, Matthew Wilcox, (Thu May 15, 2:13 pm)
Re: [patch 21/21] slab defrag: Obsolete SLAB, Christoph Lameter, (Thu May 15, 2:43 pm)
Re: [patch 21/21] slab defrag: Obsolete SLAB, Matthew Wilcox, (Thu May 15, 2:51 pm)
Re: [patch 21/21] slab defrag: Obsolete SLAB, Christoph Lameter, (Thu May 15, 3:09 pm)
Re: [patch 21/21] slab defrag: Obsolete SLAB, Matthew Wilcox, (Thu May 15, 3:29 pm)
Re: [patch 21/21] slab defrag: Obsolete SLAB, Christoph Lameter, (Fri May 16, 3:06 pm)
Re: [patch 21/21] slab defrag: Obsolete SLAB, Matthew Wilcox, (Thu May 15, 4:14 pm)
Re: [patch 21/21] slab defrag: Obsolete SLAB, Christoph Lameter, (Fri May 16, 3:17 pm)
Re: [patch 21/21] slab defrag: Obsolete SLAB, Pekka Enberg, (Thu May 15, 4:30 pm)
Re: [patch 21/21] slab defrag: Obsolete SLAB, Matt Mackall, (Wed May 14, 2:18 pm)
Re: [patch 21/21] slab defrag: Obsolete SLAB, Christoph Lameter, (Wed May 14, 3:21 pm)
Re: [patch 21/21] slab defrag: Obsolete SLAB, Matt Mackall, (Wed May 14, 3:49 pm)
Re: [patch 21/21] slab defrag: Obsolete SLAB, Christoph Lameter, (Wed May 14, 4:33 pm)
Re: [patch 21/21] slab defrag: Obsolete SLAB, Matt Mackall, (Wed May 14, 5:02 pm)
Re: [patch 21/21] slab defrag: Obsolete SLAB, Christoph Lameter, (Wed May 14, 5:26 pm)
Re: [patch 21/21] slab defrag: Obsolete SLAB, Matt Mackall, (Wed May 14, 5:54 pm)
Re: [patch 21/21] slab defrag: Obsolete SLAB, Christoph Lameter, (Thu May 15, 1:15 pm)
Re: [patch 21/21] slab defrag: Obsolete SLAB, Andi Kleen, (Mon May 12, 6:08 am)
Re: [patch 21/21] slab defrag: Obsolete SLAB, Pekka Enberg, (Mon May 12, 6:23 am)
Re: [patch 21/21] slab defrag: Obsolete SLAB, Christoph Lameter, (Wed May 14, 1:30 pm)
speck-geostationary