Re: [PATCH] memcg: avoid overflow in memcg_hierarchical_free_pages()

Johannes Weiner
2010-11-09T01:48:14Z

On Mon, Nov 08, 2010 at 05:15:20PM -0800, Greg Thelen wrote:
> Use page counts rather than byte counts to avoid overflowing
> unsigned long local variables.
>
> Signed-off-by: Greg Thelen <gthelen@google.com>

Reviewed-by: Johannes Weiner <hannes@cmpxchg.org>