[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.LFD.2.00.0911301847221.24119@localhost.localdomain>
Date: Mon, 30 Nov 2009 18:48:43 +0100 (CET)
From: Thomas Gleixner <tglx@...utronix.de>
To: Russell King - ARM Linux <linux@....linux.org.uk>
cc: Uwe Kleine-König
<u.kleine-koenig@...gutronix.de>,
Rusty Russell <rusty@...tcorp.com.au>,
David Brownell <dbrownell@...rs.sourceforge.net>,
Eric Miao <eric.y.miao@...il.com>,
Peter Zijlstra <a.p.zijlstra@...llo.nl>,
John Stultz <johnstul@...ibm.com>,
Nicolas Pitre <nico@...vell.com>,
Jamie Lokier <jamie@...reable.org>,
LKML <linux-kernel@...r.kernel.org>,
Remy Bohmer <linux@...mer.net>,
Hugh Dickins <hugh.dickins@...cali.co.uk>,
linux-arm-kernel@...ts.infradead.org,
Andrea Gallo <andrea.gallo@...ricsson.com>,
Andrew Morton <akpm@...ux-foundation.org>,
Linus Torvalds <torvalds@...ux-foundation.org>,
Ingo Molnar <mingo@...e.hu>,
Alan Cox <alan@...rguk.ukuu.org.uk>
Subject: Re: Get rid of IRQF_DISABLED - (was [PATCH] genirq: warn about
IRQF_SHARED|IRQF_DISABLED)
On Mon, 30 Nov 2009, Russell King - ARM Linux wrote:
> On Mon, Nov 30, 2009 at 02:37:03PM +0000, Russell King - ARM Linux wrote:
> > Now, at the risk of covering old ground, how about we have two separate
> > irqaction lists, one for handlers to be called with irqs disabled and
> > one for handlers with irqs enabled. We run the irqs-disabled list
> > first, naturally with irqs disabled. If, at the end of that run (or
> > maybe after each handler), IRQs have ended being enabled, print some
> > diagnostics. (We're going to need something like this to ensure that
> > drivers interrupt handlers don't enable IRQs themselves.) Then enable
> > IRQs and run the irqs-enabled chain.
>
> Oh, and the other interesting thing to do may be to have a way of
> measuring how much time irq handlers run for, so that handlers taking
> an excessive time (more than 0.5ms or so - thinking about the 1000Hz
> timer rate found on some arches) can be targetted.
.33 will have trace points for this, so the infrastructure is there or
do you think about something permanent which does not depend on the
tracer ?
Thanks,
tglx
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists