Re: [PATCH] memcg: avoid overflow inmemcg_hierarchical_free_pages()

From: KAMEZAWA Hiroyuki
Date: Mon Nov 15 2010 - 22:51:15 EST


On Mon, 8 Nov 2010 17:15:20 -0800
Greg Thelen <gthelen@xxxxxxxxxx> wrote:

> Use page counts rather than byte counts to avoid overflowing
> unsigned long local variables.
>
> Signed-off-by: Greg Thelen <gthelen@xxxxxxxxxx>

Acked-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@xxxxxxxxxxxxxx>

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/