Re: [PATCH RFC v2] slab: introduce kmalloc_array

From: David Rientjes
Date: Thu Feb 09 2012 - 17:42:50 EST


On Thu, 9 Feb 2012, Xi Wang wrote:

> This patch introduces a kmalloc_array() wrapper that performs integer
> overflow checking without zeroing the memory.
>
> Suggested-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
> Suggested-by: Jens Axboe <axboe@xxxxxxxxx>
> Signed-off-by: Xi Wang <xi.wang@xxxxxxxxx>

Acked-by: David Rientjes <rientjes@xxxxxxxxxx>

assuming there's at least one new user or one existing user that can be
modified to use the new interface and this won't just sit around not being
used.
--
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/