]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commitdc0187f8f7ba27c5017f147deb6f2e21eb2eb20d
tree8c2904597c61b873bfd85eed4ac196dd66e6f125
parentb38cf3fddb20cc13dd287f3da68bc3c29668c7b1
[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