From: Dimitri Gorokhovik Date: Sat, 30 Dec 2006 00:48:28 +0000 (-0800) Subject: [PATCH] MM: SLOB is broken by recent cleanup of slab.h X-Git-Tag: v2.6.20-rc3~34 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bcb4ddb46a4c66d64d091e7ffa951b2aa1ba537f;p=pandora-kernel.git [PATCH] MM: SLOB is broken by recent cleanup of slab.h Recent cleanup of slab.h broke SLOB allocator: the routine kmem_cache_init has now the __init attribute for both slab.c and slob.c. This routine cannot be removed after init in the case of slob.c -- it serves as a timer callback. Provide a separate timer callback routine, call it once from kmem_cache_init, keep the __init attribute on the latter. Signed-off-by: Dimitri Gorokhovik Cc: Christoph Lameter Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed