[Devel] Re: [PATCH] cgroup: Avoid a memset by using vzalloc
Balbir Singh
balbir at linux.vnet.ibm.com
Sun Oct 31 10:33:36 PDT 2010
* MinChan Kim <minchan.kim at gmail.com> [2010-10-31 08:34:01]:
> 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.
Yes, please check memcontrol.c as well
Acked-by: Balbir Singh <balbir at linux.vnet.ibm.com>
--
Three Cheers,
Balbir
_______________________________________________
Containers mailing list
Containers at lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/containers
More information about the Devel
mailing list