Re: [PATCH] proc: use unsigned long inside /proc/*/statm

From: AmÃrico Wang
Date: Sun Nov 21 2010 - 01:07:02 EST


On Sat, Nov 20, 2010 at 03:41:15AM +0200, Alexey Dobriyan wrote:
>/proc/*/statm code needlessly truncates data from unsigned long to int.
>One needs only 8+ TB of RAM to make truncation visible.
>
>Signed-off-by: Alexey Dobriyan <adobriyan@xxxxxxxxx>

Reviewed-by: WANG Cong <xiyou.wangcong@xxxxxxxxx>

Thanks.
--
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/