slob: implement RCU freeing
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.
Signed-off-by Nick Piggin <[email protected]>
init/Kconfig +1 -1
@@ -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