From owner-freebsd-current Fri Sep 21 23: 4:25 2001 Delivered-To: freebsd-current@freebsd.org Received: from robin.mail.pas.earthlink.net (robin.mail.pas.earthlink.net [207.217.120.65]) by hub.freebsd.org (Postfix) with ESMTP id E4D5137B406; Fri, 21 Sep 2001 23:04:22 -0700 (PDT) Received: from mindspring.com (dialup-209.245.141.15.Dial1.SanJose1.Level3.net [209.245.141.15]) by robin.mail.pas.earthlink.net (8.11.5/8.9.3) with ESMTP id f8M64JH22176; Fri, 21 Sep 2001 23:04:19 -0700 (PDT) Message-ID: <3BAC2A12.8F67C573@mindspring.com> Date: Fri, 21 Sep 2001 23:05:06 -0700 From: Terry Lambert Reply-To: tlambert2@mindspring.com X-Mailer: Mozilla 4.7 [en]C-CCK-MCD {Sony} (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: John Baldwin Cc: Julian Elischer , current@FreeBSD.org, Julian Elischer , Jun Kuriyama , Dag-Erling Smorgrav , Josef Karthauser Subject: Re: Problems with interrupts on -current. References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG John Baldwin wrote: > The problem is that during a fast interrupt handler, we don't acknowledge the > interrupt until we return from the interrupt handler, so if we preempt it may > be a while before we get back to the interrupted process so it can finish the > interrupt handler and ack the interrupt in the PIC. I think that you're also going to find some overhead problems related to interrupt threads when it comes to NETISR running in a seperate thread, as well. If nothing else, you are going to be paying an additional context switch overhead to switch to the NETISR thread that you weren't paying before. I don't really buy Julian's "IDE stack depth" worst case argument: the fix for that is to fix the IDE drivers to not suck up huge chunks of stack to do their work. -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message