[PATCH] slab: introduce kmem_cache_zalloc allocator
authorPekka Enberg <penberg@cs.helsinki.fi>
Sat, 25 Mar 2006 11:06:42 +0000 (03:06 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Sat, 25 Mar 2006 16:22:49 +0000 (08:22 -0800)
commita8c0f9a41f88da703ade33f9c1626a55c786e8bb
tree8c2904597c61b873bfd85eed4ac196dd66e6f125
parent871751e25d956ad24f129ca972b7851feaa61d53
[PATCH] slab: introduce kmem_cache_zalloc allocator

Introduce a memory-zeroing variant of kmem_cache_alloc.  The allocator
already exits in XFS and there are potential users for it so this patch
makes the allocator available for the general public.

Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
include/linux/slab.h
mm/slab.c
mm/slob.c