From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail191.messagelabs.com (mail191.messagelabs.com [216.82.242.19]) by kanga.kvack.org (Postfix) with SMTP id 6B0E06B0092 for ; Wed, 12 Jan 2011 18:04:04 -0500 (EST) Received: by iyj17 with SMTP id 17so1017407iyj.14 for ; Wed, 12 Jan 2011 15:03:51 -0800 (PST) MIME-Version: 1.0 In-Reply-To: References: Date: Thu, 13 Jan 2011 08:03:51 +0900 Message-ID: Subject: Re: [PATCH] mm: Remove two memset calls in mm/memcontrol.c by using the zalloc variants of alloc functions From: Minchan Kim Content-Type: text/plain; charset=ISO-8859-1 Sender: owner-linux-mm@kvack.org To: Jesper Juhl Cc: linux-mm@kvack.org, Balbir Singh , Pavel Emelianov , Daisuke Nishimura , KAMEZAWA Hiroyuki , Andrew Morton , linux-kernel@vger.kernel.org List-ID: On Thu, Jan 13, 2011 at 5:39 AM, Jesper Juhl wrote: > We can avoid two calls to memset() in mm/memcontrol.c by using > kzalloc_node(), kzalloc & vzalloc(). > > Signed-off-by: Jesper Juhl Reviewed-by: Minchan Kim -- Kind regards, Minchan Kim -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Fight unfair telecom policy in Canada: sign http://dissolvethecrtc.ca/ Don't email: email@kvack.org