From: Christoph Lameter Date: Tue, 17 Jul 2007 11:03:29 +0000 (-0700) Subject: Slab allocators: Replace explicit zeroing with __GFP_ZERO X-Git-Tag: v2.6.23-rc1~736 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=94f6030ca792c57422f04a73e7a872d8325946d3;p=pandora-kernel.git Slab allocators: Replace explicit zeroing with __GFP_ZERO kmalloc_node() and kmem_cache_alloc_node() were not available in a zeroing variant in the past. But with __GFP_ZERO it is possible now to do zeroing while allocating. Use __GFP_ZERO to remove the explicit clearing of memory via memset whereever we can. Signed-off-by: Christoph Lameter Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed