Re: [patch 02/26] Slab allocators: Consolidate code for krealloc in mm/util.c
From: Pekka Enberg
Date: Mon Jun 18 2007 - 16:03:18 EST
On 6/18/07, clameter@xxxxxxx <clameter@xxxxxxx> wrote:
The size of a kmalloc object is readily available via ksize().
ksize is provided by all allocators and thus we canb implement
krealloc in a generic way.
Implement krealloc in mm/util.c and drop slab specific implementations
of krealloc.
Looks good to me.
Acked-by: Pekka Enberg <penberg@xxxxxxxxxxxxxx>
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/