slab: introduce kmalloc_array()
Introduce a kmalloc_array() wrapper that performs integer overflow checking without zeroing the memory. Suggested-by: NAndrew Morton <akpm@linux-foundation.org> Suggested-by: NJens Axboe <axboe@kernel.dk> Signed-off-by: NXi Wang <xi.wang@gmail.com> Cc: Dan Carpenter <dan.carpenter@oracle.com> Acked-by: NDavid Rientjes <rientjes@google.com> Signed-off-by: NAndrew Morton <akpm@linux-foundation.org> Signed-off-by: NPekka Enberg <penberg@kernel.org>
Showing
想要评论请 注册 或 登录