Re: [tip:irq/genirq] genirq: assert that irq handlers are indeedrunning in hardirq context

From: Thomas Gleixner
Date: Fri Apr 10 2009 - 05:58:44 EST


On Fri, 10 Apr 2009, Eric Miao wrote:
> On Tue, Mar 3, 2009 at 7:15 AM, Peter Zijlstra <a.p.zijlstra@xxxxxxxxx> wrote:
> > Commit-ID: Â044d408409cc4e1bc75c886e27ca85c270db104c
> > Gitweb: Â Â http://git.kernel.org/tip/044d408409cc4e1bc75c886e27ca85c270db104c
> > Author: Â Â Peter Zijlstra <a.p.zijlstra@xxxxxxxxx>
> > AuthorDate: Mon, 2 Mar 2009 16:13:32 +0100
> > Commit: Â Â Ingo Molnar <mingo@xxxxxxx>
> > CommitDate: Tue, 3 Mar 2009 00:05:45 +0100
> >
> > genirq: assert that irq handlers are indeed running in hardirq context
> >
> > Make sure the genirq layer handlers are indeed running handlers
> > in hardirq context. That is the genirq expectation and doing
> > anything else is broken.
> >
> > Signed-off-by: Peter Zijlstra <a.p.zijlstra@xxxxxxxxx>
> > Cc: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
> > LKML-Reference: <1236006812.5330.632.camel@laptop>
> > Signed-off-by: Ingo Molnar <mingo@xxxxxxx>
> >
>
> OK, now this gave me the warning below and it looks resend_irqs()
> and resend_tasklet are somehow found guilty and doing wrong, as
> the comment of this commit suggested, yet I'm not sure if this makes
> sense:

No, it doesn't. We didn't think about the resend tasklet. I'm going to
fix it.

Thanks,

tglx