From owner-freebsd-current Tue Mar 21 3:47:43 2000 Delivered-To: freebsd-current@freebsd.org Received: from trinity.skynet.be (trinity.skynet.be [195.238.2.38]) by hub.freebsd.org (Postfix) with ESMTP id 478E037B861; Tue, 21 Mar 2000 03:47:40 -0800 (PST) (envelope-from blk@skynet.be) Received: from [195.238.1.121] (brad.techos.skynet.be [195.238.1.121]) by trinity.skynet.be (Postfix) with ESMTP id D881D180A5; Tue, 21 Mar 2000 12:47:23 +0100 (MET) Mime-Version: 1.0 X-Sender: blk@pop.skynet.be Message-Id: In-Reply-To: <200003210325.TAA70819@mass.cdrom.com> References: <200003210325.TAA70819@mass.cdrom.com> Date: Tue, 21 Mar 2000 10:25:53 +0100 To: Mike Smith From: Brad Knowles Subject: Re: AMI MegaRAID lockup? not accepting commands. Cc: "John W. DeBoskey" , freebsd-current@FreeBSD.ORG, Brad Chisholm Content-Type: text/plain; charset="us-ascii" ; format="flowed" Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG At 7:25 PM -0800 2000/3/20, Mike Smith wrote: > Not that I consider this particuarly optimal; busy-waiting for the > controller is a terrible waste of the host CPU. A better solution would > probably defer the command and try again a short time later, but let's > see if this works first. Since this is a device driver, I guess you can't usleep() and then check again? Is there anything else useful you could be doing during that period of time -- other than busy waiting? -- These are my opinions -- not to be taken as official Skynet policy ====================================================================== Brad Knowles, || Belgacom Skynet SA/NV Systems Architect, Mail/News/FTP/Proxy Admin || Rue Colonel Bourg, 124 Phone/Fax: +32-2-706.13.11/12.49 || B-1140 Brussels http://www.skynet.be || Belgium To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message