From owner-freebsd-hackers Mon Sep 23 11:48:21 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id LAA09107 for hackers-outgoing; Mon, 23 Sep 1996 11:48:21 -0700 (PDT) Received: from phaeton.artisoft.com (phaeton.Artisoft.COM [198.17.250.211]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id LAA09092 for ; Mon, 23 Sep 1996 11:48:18 -0700 (PDT) Received: (from terry@localhost) by phaeton.artisoft.com (8.6.11/8.6.9) id LAA02563; Mon, 23 Sep 1996 11:45:33 -0700 From: Terry Lambert Message-Id: <199609231845.LAA02563@phaeton.artisoft.com> Subject: Re: splash-page on bootup.. To: bde@zeta.org.au (Bruce Evans) Date: Mon, 23 Sep 1996 11:45:33 -0700 (MST) Cc: msmith@atrad.adelaide.edu.au, terry@lambert.org, brandon@glacier.cold.org, freebsd-hackers@FreeBSD.org, jgreco@brasil.moneng.mei.com In-Reply-To: <199609230354.NAA03404@godzilla.zeta.org.au> from "Bruce Evans" at Sep 23, 96 01:54:40 pm X-Mailer: ELM [version 2.4 PL24] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-hackers@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk > Yes, DELAY() works like it does because it must work at probe time before > timer interrupts are enabled. DELAY() shouldn't be used at other times > except for very short delays (short = about the same time as it takes > to initialize a one-shot timer and service a one-shot timer interrupt > (10-50 usec). > > OTOH, probes in lkm'ed drivers can timer expect interrupts to work, and > shouldn't use DELAY() or otherwise hog the cpu any more than the driver > would for normal operations. Luckily, all drivers should be LKM'ed, so all drivers shouldn't use DELAY(). If you could incrementally get the devices on line, starting with the timers, then the "problem" would go away. Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers.