Date: Mon, 1 Jan 2001 23:54:36 +1100 (EST) From: Bruce Evans <bde@zeta.org.au> To: Alexander Langer <alex@big.endian.de> Cc: arch@FreeBSD.ORG Subject: Re: (fwd) getnanouptime() patch Message-ID: <Pine.BSF.4.21.0101012348420.9932-100000@besplex.bde.org> In-Reply-To: <20010101133438.A4214@cichlids.cichlids.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 1 Jan 2001, Alexander Langer wrote: > [per suggestion by Chris Faulhaber, I'm forwarding this to -arch] > > Hello! > > I have this old mail from BDE sitting here about the print_uptime() > bugs. One of these bugs is: > > - the implementation is buggy. getnanouptime() accesses uninitialized > pointers when it is called before timecounters have been > initialized. > This causes recursive panics which lock up at least my systems (boot > with -d and decide you didn't want to boot this kernel after all, > and type "panic" at the debugger prompt -- this locks up the system). Actually, timecounters are statically initialized to a dummy timecounter, so the lock-up is probably caused by some other bug, possibly an uninitialized event handler. So the patch has no effect except to slow down nanotime(). Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0101012348420.9932-100000>