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

From: Minchan Kim
Date: Wed Jan 12 2011 - 18:03:57 EST


On Thu, Jan 13, 2011 at 5:39 AM, 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>
Reviewed-by: Minchan Kim <minchan.kim@xxxxxxxxx>

--
Kind regards,
Minchan Kim
--
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/