lkml.org 
[lkml]   [2003]   [Feb]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Annoying /proc/net/dev rollovers.
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/

\
 
 \ /
  Last update: 2005-03-22 13:33    [from the cache]
©2003-2014 Jasper Spaans. Advertise on this site