Re: [patch 06/26] Slab allocators: Replace explicit zeroing with __GFP_ZERO

2007-06-28 Thread Andrew Morton
On Mon, 18 Jun 2007 02:58:44 -0700 [EMAIL PROTECTED] wrote: > 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

Re: [patch 06/26] Slab allocators: Replace explicit zeroing with __GFP_ZERO

2007-06-28 Thread Andrew Morton
On Mon, 18 Jun 2007 02:58:44 -0700 [EMAIL PROTECTED] wrote: 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

Re: [patch 06/26] Slab allocators: Replace explicit zeroing with __GFP_ZERO

2007-06-19 Thread Pekka Enberg
On 6/18/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: 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. Looks good. Maybe we want to phase out the zeroing variants altogether

Re: [patch 06/26] Slab allocators: Replace explicit zeroing with __GFP_ZERO

2007-06-19 Thread Pekka Enberg
On 6/18/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: 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. Looks good. Maybe we want to phase out the zeroing variants altogether

[patch 06/26] Slab allocators: Replace explicit zeroing with __GFP_ZERO

2007-06-18 Thread clameter
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 <[EMAIL

[patch 06/26] Slab allocators: Replace explicit zeroing with __GFP_ZERO

2007-06-18 Thread clameter
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 [EMAIL