lkml.org 
[lkml]   [2010]   [Mar]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH] Prevent nested interrupts when the IRQ stack is near overflowing v2


    On Thu, 25 Mar 2010, Linus Torvalds wrote:
    >
    > And I just checked: even the 8250 serial driver doesn't use IRQF_DISABLED
    > any more, so doing that shouldn't cause any latency issues (sure, the
    > serial driver may interrupt another irq, but another irq can also
    > interrupt the serial driver as things stand now, so the original latency
    > issue with fast irq handlers doesn't actually work these days _anyway_).

    Btw, if we really do decide that everybody is IRQF_DISABLED, that really
    should make the whole mask-and-ack issue for the irq controllers go away.

    We'd still need it, but only for the very special IDE controller case and
    others who _explicitly_ re-enable interrupts. Those would really have to
    cause the irq to be masked so that we don't get issues with recursive irqs
    of the same kind.

    Linus


    \
     
     \ /
      Last update: 2010-03-25 22:01    [W:0.036 / U:59.484 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site