Thread (96 messages) flat view 96 messages, 12 authors, 2009-07-22

Re: lockdep and threaded IRQs (was: ...)

From: David Brownell <hidden>
Date: 2009-03-02 22:09:34
Also in: lkml

On Monday 02 March 2009, Peter Zijlstra wrote:
quoted
quoted
How so?, its the natural extension of that work.
Not the work to shrink the amount of time IRQ latencies
by shrinking the amount of time IRQs are disabled by
IRQ handlers.
Ugh, that's done by pushing work out of the hardirq context,
That's one of many techniques currently used.

Tradeoffs don't always favor larger driver updates
and re-validation though.  Sometimes it's simpler
to just leverage the reality that "hardirq context"
does not require using IRQF_DISABLED.

not by doing silly things like enabling irqs from hardirq context.
Somehow I'm certain you have NOT analysed every one of the
thousands of IRQ handlers in various Linux drivers to know
with certainty that's not the reason IRQ_DISABLED is cleared.

There are also *other* reasons to leave IRQ_DISABLED clear.

- Dave
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help