From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?utf-8?Q?Am=C3=A9rico?= Wang Subject: Re: [PATCH] cgroup: Avoid a memset by using vzalloc Date: Thu, 4 Nov 2010 00:37:20 +0800 Message-ID: <20101103163702.GA4683__4186.04053925282$1288802115$gmane$org@hack> References: <20101031173336.GA28141@balbir.in.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: containers-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org Errors-To: containers-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org To: jovi zhang Cc: containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-mm-Bw31MaZKKs3YtjvyW6yDsg@public.gmane.org, Jesper Juhl , Christoph Lameter , Paul Menage , Balbir Singh List-Id: containers.vger.kernel.org On Wed, Nov 03, 2010 at 11:20:32PM +0800, jovi zhang wrote: >On Wed, Nov 3, 2010 at 10:38 PM, Christoph Lameter wrote: >> On Mon, 1 Nov 2010, Jesper Juhl wrote: >> >>> On Sun, 31 Oct 2010, Balbir Singh wrote: >> >>> > > There are so many placed need vzalloc. >>> > > Thanks, Jesper. >> >> >> Could we avoid this painful exercise with a "semantic patch"? >> >Can we make a grep script to walk all files to find vzalloc usage like this? >No need to send patch mail one by one like this. No, grep doesn't understand C. :) -- Live like a child, think like the god.