From owner-freebsd-bugs Wed May 9 7:24:58 2001 Delivered-To: freebsd-bugs@freebsd.org Received: from flood.ping.uio.no (flood.ping.uio.no [129.240.78.31]) by hub.freebsd.org (Postfix) with ESMTP id 7472C37B423; Wed, 9 May 2001 07:24:54 -0700 (PDT) (envelope-from des@ofug.org) Received: (from des@localhost) by flood.ping.uio.no (8.9.3/8.9.3) id QAA61296; Wed, 9 May 2001 16:24:49 +0200 (CEST) (envelope-from des@ofug.org) X-URL: http://www.ofug.org/~des/ X-Disclaimer: The views expressed in this message do not necessarily coincide with those of any organisation or company with which I am or have been affiliated. To: Bruce Evans Cc: dwmalone@FreeBSD.ORG, freebsd-bugs@FreeBSD.ORG Subject: Re: kern/27215: when cat'ing /compat/linux/proc/stat, we have negative numbers References: From: Dag-Erling Smorgrav Date: 09 May 2001 16:24:49 +0200 In-Reply-To: Message-ID: Lines: 14 User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Bruce Evans writes: > It mainly obscures the bug, by moving obvious overflow after LONG_MAX/100 > statclock ticks to unobvious overflow after ULONG_MAX/100 statclock ticks. > Overflow thresholds for some cases: > > i386, stathz = 128: before: 1.94 days; after : 3.88 days > alpha, stathz = 1024: before: 2.85 million years; after: 5.71 million years Argh. What are the chances of making cp_time an array of uint64_ts instead of longs? Would that break any existing binary interfaces? DES -- Dag-Erling Smorgrav - des@ofug.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message