Re: [PATCH] mm: Remove two memset calls in mm/memcontrol.c by usingthe zalloc variants of alloc functions

From: Daisuke Nishimura
Date: Wed Jan 12 2011 - 19:36:23 EST


On Wed, 12 Jan 2011 21:39:59 +0100 (CET)
Jesper Juhl <jj@xxxxxxxxxxxxx> wrote:

> We can avoid two calls to memset() in mm/memcontrol.c by using
> kzalloc_node(), kzalloc & vzalloc().
>
> Signed-off-by: Jesper Juhl <jj@xxxxxxxxxxxxx>

Acked-by: Daisuke Nishimura <nishimura@xxxxxxxxxxxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/