Skip site navigation (1)Skip section navigation (2)
Date:      09 May 2001 16:24:49 +0200
From:      Dag-Erling Smorgrav <des@ofug.org>
To:        Bruce Evans <bde@zeta.org.au>
Cc:        dwmalone@FreeBSD.ORG, freebsd-bugs@FreeBSD.ORG
Subject:   Re: kern/27215: when cat'ing /compat/linux/proc/stat, we have negative numbers
Message-ID:  <xzpvgnaha6m.fsf@flood.ping.uio.no>
In-Reply-To: <Pine.BSF.4.21.0105092239510.18209-100000@besplex.bde.org>
References:  <Pine.BSF.4.21.0105092239510.18209-100000@besplex.bde.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Bruce Evans <bde@zeta.org.au> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?xzpvgnaha6m.fsf>