From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751506AbWFDPpU (ORCPT ); Sun, 4 Jun 2006 11:45:20 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751508AbWFDPpU (ORCPT ); Sun, 4 Jun 2006 11:45:20 -0400 Received: from ms-smtp-03.nyroc.rr.com ([24.24.2.57]:7916 "EHLO ms-smtp-03.nyroc.rr.com") by vger.kernel.org with ESMTP id S1751506AbWFDPpT (ORCPT ); Sun, 4 Jun 2006 11:45:19 -0400 Subject: Re: [patch, -rc5-mm1] locking validator: special rule: 8390.c disable_irq() From: Steven Rostedt To: Alan Cox Cc: Arjan van de Ven , Ingo Molnar , Andrew Morton , linux-kernel@vger.kernel.org In-Reply-To: <20060604153842.GA14801@devserv.devel.redhat.com> References: <1149107500.3114.75.camel@laptopd505.fenrus.org> <20060531214139.GA8196@devserv.devel.redhat.com> <1149111838.3114.87.camel@laptopd505.fenrus.org> <20060531214729.GA4059@elte.hu> <1149112582.3114.91.camel@laptopd505.fenrus.org> <1149345421.13993.81.camel@localhost.localdomain> <20060603215323.GA13077@devserv.devel.redhat.com> <1149374090.14408.4.camel@localhost.localdomain> <1149413649.3109.92.camel@laptopd505.fenrus.org> <1149426961.27696.7.camel@localhost.localdomain> <20060604153842.GA14801@devserv.devel.redhat.com> Content-Type: text/plain Date: Sun, 04 Jun 2006 11:44:57 -0400 Message-Id: <1149435897.29652.2.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.4.2.1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Sun, 2006-06-04 at 11:38 -0400, Alan Cox wrote: > On Sun, Jun 04, 2006 at 09:16:01AM -0400, Steven Rostedt wrote: > > that had its irq misrouted, couldn't it cause a storm if we don't call > > the handler for it? So really disable_irq is broken for the misrouting > > case, and perhaps needs to be replaced with a spin_lock_irqsave? > > For the ne2k at least that simply is not possible, the latencies are so > bad that you start dropping serial characters and the like if you do. > > The disease is not as bad as the cure.. > Forgive me on my ignorance of misrouted irqs. I really don't understand when and why they happen. But my question still stands (maybe because I don't understand). If we don't call the handler of the misrouted irq because if disable_irq, can't we still get an interrupt storm? -- Steve