From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail143.messagelabs.com (mail143.messagelabs.com [216.82.254.35]) by kanga.kvack.org (Postfix) with SMTP id 59DAA6B00AF for ; Mon, 8 Nov 2010 20:28:10 -0500 (EST) Received: by iwn9 with SMTP id 9so6869444iwn.14 for ; Mon, 08 Nov 2010 17:28:08 -0800 (PST) MIME-Version: 1.0 In-Reply-To: <1289265320-7025-1-git-send-email-gthelen@google.com> References: <1289265320-7025-1-git-send-email-gthelen@google.com> Date: Tue, 9 Nov 2010 10:28:08 +0900 Message-ID: Subject: Re: [PATCH] memcg: avoid overflow in memcg_hierarchical_free_pages() From: Minchan Kim Content-Type: text/plain; charset=ISO-8859-1 Sender: owner-linux-mm@kvack.org To: Greg Thelen Cc: Andrew Morton , Balbir Singh , KAMEZAWA Hiroyuki , Daisuke Nishimura , Johannes Weiner , Wu Fengguang , linux-mm@kvack.org, linux-kernel@vger.kernel.org List-ID: On Tue, Nov 9, 2010 at 10:15 AM, Greg Thelen wrote: > Use page counts rather than byte counts to avoid overflowing > unsigned long local variables. > > Signed-off-by: Greg Thelen 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