[lkml]   [2010]   [Sep]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [PATCH] mfd: speedup twl4030 irq response time and decrease irq disable time
    CC genirq guys

    2010/9/28 Mark Brown <>:
    > On Tue, Sep 28, 2010 at 08:25:24AM +0800, Ming Lei wrote:
    >> 2010/9/27 Samuel Ortiz <>:
    >> > Wouldn't converting your twl4030_irq_thread() to the threaded IRQ framework
    >> > fix that problem ?
    >> IRQ_DISABLED flag is set by disable_irq_nosync called from PIH handler,
    >> then thread function can't be executed in irq thread function, so we can't
    >> convert this to threaded IRQ framework simply.
    > Have you raised this issue with the genirq guys?  This sounds like
    > something that the core infrastructure should be able to cope with.

    Even genirq guys can help us to convert to irq thread framework, I
    don't think there is good way to set priority for one irq thread.

    For twl4030, if we can make twl4030_irq_thread to run at higher
    priority than that of other irq thread, the PIH irq disable time can be
    decreased further since other irq thread waken up by twl4030_irq_thread
    can preempt the running of twl4030_irq_thread, and the PIH irq will be
    enabled until complete of twl4030_irq_thread.

    Lei Ming
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2010-09-28 07:03    [W:0.064 / U:2.104 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site