lkml.org 
[lkml]   [2009]   [Mar]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: lockdep and threaded IRQs (was: ...)
    From
    Date
    On Mon, 2009-03-02 at 13:04 -0800, David Brownell wrote:
    > On Monday 02 March 2009, Peter Zijlstra wrote:
    > > IRQF_DISABLED is bonkers,
    >
    > Hmm, after all the work that's been done to get Linux
    > to the point where *most* drivers run without IRQs
    > enabled ... that sentiment surprises me.
    >
    > And I suspect it would surprise most driver developers.

    How so?, its the natural extension of that work.

    > > we should simply always disable interrupts for
    > > interrupt handlers.
    >
    > That would be why you have refused to fix the bug
    > in lockdep, whereby it forcibly enables that flag?
    >
    > I've been wondering for some months now why you've
    > left that bug unfixed.

    Because running irq handlers with irqs enabled it plain silly.

    Except it turns out there is some really broken ass hardware out there.
    But supposedly IDE PIO could be done from a threaded handler.





    \
     
     \ /
      Last update: 2009-03-02 22:19    [W:3.590 / U:0.004 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site