Re: [PATCH RESEND v4 1/3] mm/sparse: optimize sparse_index_alloc
From: Gavin Shan <hidden>
Date: 2012-07-24 00:55:18
On Mon, Jul 23, 2012 at 08:18:04AM +0000, Cong Wang wrote:
On Mon, 23 Jul 2012 at 02:31 GMT, Gavin Shan [off-list ref] wrote:quoted
With CONFIG_SPARSEMEM_EXTREME, the two level of memory section descriptors are allocated from slab or bootmem. When allocating from slab, let slab/bootmem allocator to clear the memory chunk. We needn't clear that explicitly. Signed-off-by: Gavin Shan <redacted> Reviewed-by: Michal Hocko <redacted> Acked-by: David Rientjes <rientjes@google.com>Reviewed-by: Cong Wang <redacted>
Thanks for your time, Cong :-) Thanks, Gavin
-- 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>
-- 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>