Slab allocators: Cleanup zeroing allocations
authorChristoph Lameter <clameter@sgi.com>
Tue, 17 Jul 2007 11:03:29 +0000 (04:03 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Tue, 17 Jul 2007 17:23:01 +0000 (10:23 -0700)
commit81cda6626178cd55297831296ba8ecedbfd8b52d
treefa35a6a04db63080bbeb42f33f4b4a891b7fc96c
parentce15fea8274acca06daa1674322d37a7d3f0036b
Slab allocators: Cleanup zeroing allocations

It becomes now easy to support the zeroing allocs with generic inline
functions in slab.h.  Provide inline definitions to allow the continued use of
kzalloc, kmem_cache_zalloc etc but remove other definitions of zeroing
functions from the slab allocators and util.c.

Signed-off-by: Christoph Lameter <clameter@sgi.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/slab.h
include/linux/slab_def.h
include/linux/slub_def.h
mm/slab.c
mm/slob.c
mm/slub.c
mm/util.c