-
- Downloads
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>
Showing
- include/linux/slab.h 46 additions, 31 deletionsinclude/linux/slab.h
- include/linux/slab_def.h 0 additions, 30 deletionsinclude/linux/slab_def.h
- include/linux/slub_def.h 0 additions, 13 deletionsinclude/linux/slub_def.h
- mm/slab.c 0 additions, 17 deletionsmm/slab.c
- mm/slob.c 0 additions, 10 deletionsmm/slob.c
- mm/slub.c 0 additions, 11 deletionsmm/slub.c
- mm/util.c 0 additions, 14 deletionsmm/util.c
Loading
Please register or sign in to comment