Re: [PATCH] cgroup: Avoid a memset by using vzalloc

From: Minchan Kim
Date: Sat Oct 30 2010 - 19:34:09 EST


On Sun, Oct 31, 2010 at 6:35 AM, Jesper Juhl <jj@xxxxxxxxxxxxx> wrote:
> Hi,
>
> We can avoid doing a memset in swap_cgroup_swapon() by using vzalloc().
>
>
> Signed-off-by: Jesper Juhl <jj@xxxxxxxxxxxxx>
Reviewed-by: Minchan Kim <minchan.kim@xxxxxxxxx>

There are so many placed need vzalloc.
Thanks, Jesper.



--
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/