lkml.org 
[lkml]   [2006]   [May]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [patch, -rc5-mm1] locking validator: special rule: 8390.c disable_irq()
From
Date
On Thu, 2006-06-01 at 00:00 +0200, Ingo Molnar wrote:
> * Arjan van de Ven <arjan@infradead.org> wrote:
>
> > > couldnt most of these problems be avoided by tracking whether a handler
> > > _ever_ returned a success status? That means that irqpoll could safely
> > > poll handlers for which we know that they somehow arent yet matched up
> > > to any IRQ line?
> >
> > I suspect the real solution is to have a
> >
> > disable_irq_handler(irq, handler)
> >
> > function which does 2 things
> > 1) disable the irq at the hardware level
> > 2) mark the handler as "don't call me"
> >
> > it matches the semantics here; what these drivers want is 1) not get
> > an irq handler called and 2) not get an irq flood
>
> ok, this would work. But there is a practical problem: only in drivers/*
> there's 310 disable_irq() calls - each would have to be changed to
> disable_irq_handler() [and i dont see any good way to automate that
> conversion] ...

want to take a bet on the number of those 310 that are just totally
bogus ?


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-06-01 00:05    [from the cache]
©2003-2011 Jasper Spaans