[PATCH] cgroup: Avoid a memset by using vzalloc

Minchan Kim minchan.kim at gmail.com
Sat Oct 30 16:34:01 PDT 2010


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

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



-- 
Kind regards,
Minchan Kim


More information about the Containers mailing list