[PATCH] cgroup: Avoid a memset by using vzalloc

Américo Wang xiyou.wangcong at gmail.com
Wed Nov 3 09:37:20 PDT 2010


On Wed, Nov 03, 2010 at 11:20:32PM +0800, jovi zhang wrote:
>On Wed, Nov 3, 2010 at 10:38 PM, Christoph Lameter <cl at linux.com> 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.
 


More information about the Containers mailing list