From: Ingo Molnar <mingo@elte.hu>
To: Thomas Gleixner <tglx@linutronix.de>
Cc: LKML <linux-kernel@vger.kernel.org>,
Linus Torvalds <torvalds@linux-foundation.org>,
Andrew Morton <akpm@linux-foundation.org>,
Peter Zijlstra <peterz@infradead.org>
Subject: Re: [patch 0/5] genirq: Forced threaded interrupt handlers
Date: Thu, 24 Feb 2011 08:12:37 +0100 [thread overview]
Message-ID: <20110224071237.GA7197@elte.hu> (raw)
In-Reply-To: <20110223231601.613115832@linutronix.de>
* Thomas Gleixner <tglx@linutronix.de> wrote:
> Some time ago when the threaded interrupt handlers infrastructure was
> about to be merged, Andrew asked me where that command line switch was
> which magically runs all interrupt handlers and the softirqs in
> threads.
>
> While we were doing that brute force in preempt-rt for quite a while
> it took some time to come up with a reasonable non intrusive
> implementation for mainline. We also had to find a solution which fits
> Linus' recently issued "palatable Trojan horse" requirement (see:
> https://lwn.net/Articles/370998/).
>
> The gift of this patch series is the ability to add "threadirqs" to
> the kernel command line and magically (almost) all interrupt handlers
> - except those which are explicitely marked IRQF_NO_THREAD - are
> confined into threads along with all soft interrupts.
>
> That allows to enhance the debugability of the kernel as a bug in an
> interrupt handler is not necessarily taking the whole machine
> down. It's just the particular irq thread which goes into nirwana. Bad
> luck if that's the one which is crucial to retrieve the bug report,
> but in most cases - yes, I analysed quite a lot of bugzilla reports -
> it will be helpful for reporters not to be forced to transcribe the
> bug from the screen.
Just a quick bike shed painting suggestion: could we please name it anything but
'forced' threaded irqs? Something like 'irqthread debugging' or 'full irqthreads'?
Thanks,
Ingo
prev parent reply other threads:[~2011-02-24 7:12 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-02-23 23:52 [patch 0/5] genirq: Forced threaded interrupt handlers Thomas Gleixner
2011-02-23 23:52 ` [patch 1/5] genirq: Prepare the handling of shared oneshot interrupts Thomas Gleixner
2011-02-24 2:30 ` Linus Torvalds
2011-02-24 17:56 ` Thomas Gleixner
2011-02-26 16:22 ` [tip:irq/core] " tip-bot for Thomas Gleixner
2011-02-23 23:52 ` [patch 2/5] genirq: Allow " Thomas Gleixner
2011-02-26 16:22 ` [tip:irq/core] " tip-bot for Thomas Gleixner
2011-02-23 23:52 ` [patch 3/5] genirq: Add IRQF_NO_THREAD Thomas Gleixner
2011-02-26 16:22 ` [tip:irq/core] " tip-bot for Thomas Gleixner
2011-02-23 23:52 ` [patch 4/5] sched: Switch wait_task_inactive to schedule_hrtimeout() Thomas Gleixner
2011-02-26 16:23 ` [tip:irq/core] " tip-bot for Thomas Gleixner
2011-02-23 23:52 ` [patch 5/5] genirq: Provide forced interrupt threading Thomas Gleixner
2011-02-26 16:23 ` [tip:irq/core] " tip-bot for Thomas Gleixner
2011-02-24 7:12 ` Ingo Molnar [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20110224071237.GA7197@elte.hu \
--to=mingo@elte.hu \
--cc=akpm@linux-foundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=peterz@infradead.org \
--cc=tglx@linutronix.de \
--cc=torvalds@linux-foundation.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox