Re: Annoying /proc/net/dev rollovers.

From: Chris Wedgwood (cw@f00f.org)
Date: Sun Feb 16 2003 - 20:41:11 EST


On Sun, Feb 16, 2003 at 04:16:16PM -0600, Mark J Roberts wrote:

> The rolling-over of /proc/net/dev fields annoys me.

Why?

How often does it happen?

> total_rx_bytes += rx_bytes;

if lval is 64-bit, then this cannot be done reliably on all
architectures

  --cw
-
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/



This archive was generated by hypermail 2b29 : Sun Feb 23 2003 - 22:00:16 EST