summaryrefslogtreecommitdiffstats
path: root/mm
diff options
context:
space:
mode:
authorXi Wang <xi.wang@gmail.com>2012-03-05 15:14:41 -0800
committerPekka Enberg <penberg@kernel.org>2012-03-06 11:01:33 +0200
commita8203725dfded5c1f79dca3368a4a273e24b59bb (patch)
tree1b2111e72fc8ccd40a29c0898fe0df58d2204e1a /mm
parent8028dcea8abbbd51b5156e40ea214c20b559cd01 (diff)
downloadop-kernel-dev-a8203725dfded5c1f79dca3368a4a273e24b59bb.zip
op-kernel-dev-a8203725dfded5c1f79dca3368a4a273e24b59bb.tar.gz
slab: introduce kmalloc_array()
Introduce a kmalloc_array() wrapper that performs integer overflow checking without zeroing the memory. Suggested-by: Andrew Morton <akpm@linux-foundation.org> Suggested-by: Jens Axboe <axboe@kernel.dk> Signed-off-by: Xi Wang <xi.wang@gmail.com> Cc: Dan Carpenter <dan.carpenter@oracle.com> Acked-by: David Rientjes <rientjes@google.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Pekka Enberg <penberg@kernel.org>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud