Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755191Ab0KIB2K (ORCPT ); Mon, 8 Nov 2010 20:28:10 -0500 Received: from mail-iw0-f174.google.com ([209.85.214.174]:52963 "EHLO mail-iw0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754180Ab0KIB2J (ORCPT ); Mon, 8 Nov 2010 20:28:09 -0500 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=rufVdBVhNBUYMAZtN+K9mZpVWOooppEhpm7MedkCUY0T++l0pQq6Rvh9bzo0wvxYoa I5AID0XQH7I5bhGTaj6U1qlHoDrG6iNmsHtsKWi6zuVnta3vp9ZVuU6uzaT8q07uYakT QGTansElP1M31vpDjaqyfCCiEH8cry3VGxXUA= 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 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 Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 545 Lines: 14 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 from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/