[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <AANLkTi=nMU3ezNFD8LKBhJxr6CmW6-qHY_Mo3HRt6Os0@mail.gmail.com>
Date: Sun, 31 Oct 2010 08:34:01 +0900
From: Minchan Kim <minchan.kim@...il.com>
To: Jesper Juhl <jj@...osbits.net>
Cc: linux-kernel@...r.kernel.org, linux-mm@...ck.org,
Paul Menage <menage@...gle.com>,
Li Zefan <lizf@...fujitsu.com>,
containers@...ts.linux-foundation.org
Subject: Re: [PATCH] cgroup: Avoid a memset by using vzalloc
On Sun, Oct 31, 2010 at 6:35 AM, Jesper Juhl <jj@...osbits.net> wrote:
> Hi,
>
> We can avoid doing a memset in swap_cgroup_swapon() by using vzalloc().
>
>
> Signed-off-by: Jesper Juhl <jj@...osbits.net>
Reviewed-by: Minchan Kim <minchan.kim@...il.com>
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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists