Skip to contentSkip to conversation

slob: implement RCU freeing

PATCH New Nick Piggin 1 participant 1 message May 9, 2007 Memory management

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 slob: implement RCU freeing

SLOB allocator should implement SLAB_DESTROY_BY_RCU correctly, because even on UP, RCU freeing semantics are not equivalent to simply freeing immediately. This also allows SLOB to be used on SMP.

init/Kconfig +1 -1
Index: linux-2.6/init/Kconfig
===================================================================
@@ -476,7 +476,7 @@
 
 config SLAB
 	default y
-	bool "Use full SLAB allocator" if (EMBEDDED && !SMP && !SPARSEMEM)
+	bool "Use full SLAB allocator" if (EMBEDDED && !SPARSEMEM)
 	help
 	  Disabling this replaces the advanced SLAB allocator and
 	  kmalloc support with the drastically simpler SLOB allocator.
mm/slob.c +40 -7

79 lines not on this page · raw message