From: Christoph Lameter Date: Tue, 17 Jul 2007 11:03:21 +0000 (-0700) Subject: Slab allocators: consolidate code for krealloc in mm/util.c X-Git-Tag: v2.6.23-rc1~748 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ef2ad80c7d255ed0449eda947c2d700635b7e0f5;p=pandora-kernel.git Slab allocators: consolidate code for krealloc in mm/util.c The size of a kmalloc object is readily available via ksize(). ksize is provided by all allocators and thus we can implement krealloc in a generic way. Implement krealloc in mm/util.c and drop slab specific implementations of krealloc. Signed-off-by: Christoph Lameter Acked-by: Pekka Enberg Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed