slob: implement RCU freeing
authorNick Piggin <nickpiggin@yahoo.com.au>
Thu, 17 May 2007 05:10:49 +0000 (22:10 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Thu, 17 May 2007 12:23:02 +0000 (05:23 -0700)
commitafc0cedbe9138e3e8b38bfa1e4dfd01a2c537d62
tree0df03f95645ef76a387dd541da062b682319c921
parentb2cd64153b94473f6bd82448a68b8e8c041676ea
slob: implement RCU freeing

The 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 <npiggin@suse.de>
Acked-by: Matt Mackall <mpm@selenic.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
init/Kconfig
mm/slob.c