Re: [PATCH] memcg: avoid overflow in memcg_hierarchical_free_pages()
From: Minchan Kim
Date: Mon Nov 08 2010 - 20:28:15 EST
On Tue, Nov 9, 2010 at 10:15 AM, 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>
Reviewed-by: Minchan Kim <minchan.kim@xxxxxxxxx>
--
Kind regards,
Minchan Kim
--
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/