Re: [patch 05/26] Slab allocators: Cleanup zeroing allocations
From: Matt Mackall <hidden>
Date: 2007-06-19 21:04:40
Also in:
lkml
From: Matt Mackall <hidden>
Date: 2007-06-19 21:04:40
Also in:
lkml
On Mon, Jun 18, 2007 at 02:58:43AM -0700, clameter@sgi.com wrote:
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.
The SLOB bits up through here look fine. I worry a bit about adding another branch checking __GFP_ZERO in such a hot path for SLAB/SLUB. -- Mathematics is the supreme nostalgia of our time. -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>