Skip to content
Commit a8203725 authored by Xi Wang's avatar Xi Wang Committed by Pekka Enberg
Browse files

slab: introduce kmalloc_array()



Introduce a kmalloc_array() wrapper that performs integer overflow
checking without zeroing the memory.

Suggested-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Suggested-by: default avatarJens Axboe <axboe@kernel.dk>
Signed-off-by: default avatarXi Wang <xi.wang@gmail.com>
Cc: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: default avatarDavid Rientjes <rientjes@google.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarPekka Enberg <penberg@kernel.org>
parent 8028dcea
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment