Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Sun, 16 Feb 2003 20:31:13 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Sun, 16 Feb 2003 20:31:13 -0500 Received: from tapu.f00f.org ([202.49.232.129]:27533 "EHLO tapu.f00f.org") by vger.kernel.org with ESMTP id ; Sun, 16 Feb 2003 20:31:12 -0500 Date: Sun, 16 Feb 2003 17:41:11 -0800 From: Chris Wedgwood To: Mark J Roberts Cc: linux-kernel@vger.kernel.org Subject: Re: Annoying /proc/net/dev rollovers. Message-ID: <20030217014111.GA2244@f00f.org> References: <20030216221616.GA246@znex> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030216221616.GA246@znex> User-Agent: Mutt/1.3.28i X-No-Archive: Yes Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 512 Lines: 21 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/