From owner-freebsd-current Wed May 19 9:45:40 1999 Delivered-To: freebsd-current@freebsd.org Received: from rover.village.org (rover.village.org [204.144.255.49]) by hub.freebsd.org (Postfix) with ESMTP id DAF4B14CE4 for ; Wed, 19 May 1999 09:45:26 -0700 (PDT) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (harmony.village.org [10.0.0.6]) by rover.village.org (8.9.3/8.9.3) with ESMTP id KAA62955; Wed, 19 May 1999 10:44:18 -0600 (MDT) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.9.3/8.8.3) with ESMTP id KAA86243; Wed, 19 May 1999 10:46:16 -0600 (MDT) Message-Id: <199905191646.KAA86243@harmony.village.org> To: Nate Williams Subject: Re: zzz crashing in current OR inthand_remove not removing handlers properly Cc: current@FreeBSD.ORG In-reply-to: Your message of "Mon, 17 May 1999 09:00:50 MDT." <199905171500.JAA22502@mt.sri.com> References: <199905171500.JAA22502@mt.sri.com> <5lr9ogzaqf.fsf@assaris.sics.se> <19990516235949.A18232@netmonger.net> Date: Wed, 19 May 1999 10:46:16 -0600 From: Warner Losh Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message <199905171500.JAA22502@mt.sri.com> Nate Williams writes: : The solution is to not poll and to make sure insertion/removal events : generate an interrupt which can inform the card's interrupt handlers : that there is no more card. : : (That's one of the main reasons polling is a very bad idea.) Agreed. It is far better to figure out which interrupt lines are connected and how. I know the curretn code does a horrible job of figuring these things out... Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message