login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2010
»
March
»
26
Re: [patch 0/2] Run interrupt handlers always with interrupts disabled
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: Andi Kleen
Subject:
Re: [patch 0/2] Run interrupt handlers always with interrupts disabled
Date: Friday, March 26, 2010 - 3:12 am
On Fri, Mar 26, 2010 at 11:08:53AM +0100, Peter Zijlstra wrote:
quoted text
> On Fri, 2010-03-26 at 09:59 +0000, Alan Cox wrote: > > > As long as it's rare (which it is) i dont see a problem: you can enable > > > interrupts in the handler by using local_irq_enable(), like the IDE PIO > > > drivers do. That way it's documented a bit better as well, because it shows > > > the precise source of the latency, with a big comment explaining it, etc. > > > > I don't think it's as rare as you think particularly in embedded, and the > > moment you start explicitly using local_irq_enable() you've simply moved > > the underlying problem back and made it far harder to grep for. > > We've got local_irq_enable_in_hardirq() which should be used and can > easily be grep'ed for. > > But yes, I would much prefer to simply convert these known slow handlers > to threaded interrupts.
That could be potentially hundreds in old obscure drivers all over the tree. -Andi --
ak@linux.intel.com
-- Speaking for myself only. --
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
[patch 0/2] Run interrupt handlers always with interrupts ...
, Thomas Gleixner
, (Thu Mar 25, 5:06 pm)
[patch 1/2] genirq: Run irq handlers with interrupts disabled
, Thomas Gleixner
, (Thu Mar 25, 5:06 pm)
[patch 2/2] genirq: Remove IRQF_DISABLED from core code
, Thomas Gleixner
, (Thu Mar 25, 5:06 pm)
Re: [patch 0/2] Run interrupt handlers always with interru ...
, David Miller
, (Thu Mar 25, 8:34 pm)
Re: [patch 1/2] genirq: Run irq handlers with interrupts d ...
, Andi Kleen
, (Thu Mar 25, 11:13 pm)
Re: [patch 2/2] genirq: Remove IRQF_DISABLED from core code
, Andi Kleen
, (Thu Mar 25, 11:20 pm)
Re: [patch 0/2] Run interrupt handlers always with interru ...
, Russell King
, (Fri Mar 26, 1:14 am)
Re: [patch 0/2] Run interrupt handlers always with interru ...
, Ingo Molnar
, (Fri Mar 26, 2:20 am)
Re: [patch 0/2] Run interrupt handlers always with interru ...
, Peter Zijlstra
, (Fri Mar 26, 2:28 am)
Re: [patch 0/2] Run interrupt handlers always with interru ...
, Alan Cox
, (Fri Mar 26, 2:59 am)
Re: [patch 0/2] Run interrupt handlers always with interru ...
, Peter Zijlstra
, (Fri Mar 26, 3:08 am)
Re: [patch 0/2] Run interrupt handlers always with interru ...
, Andi Kleen
, (Fri Mar 26, 3:12 am)
Re: [patch 0/2] Run interrupt handlers always with interru ...
, Ingo Molnar
, (Fri Mar 26, 3:53 am)
Re: [patch 2/2] genirq: Remove IRQF_DISABLED from core code
, Thomas Gleixner
, (Fri Mar 26, 4:19 am)
Re: [patch 0/2] Run interrupt handlers always with interru ...
, Nicolas Pitre
, (Fri Mar 26, 5:00 am)
Re: [patch 0/2] Run interrupt handlers always with interru ...
, Jamie Lokier
, (Fri Mar 26, 5:02 am)
Re: [patch 0/2] Run interrupt handlers always with interru ...
, Jamie Lokier
, (Fri Mar 26, 5:06 am)
Re: [patch 1/2] genirq: Run irq handlers with interrupts d ...
, Thomas Gleixner
, (Fri Mar 26, 6:05 am)
Re: [patch 1/2] genirq: Run irq handlers with interrupts d ...
, Andi Kleen
, (Mon Mar 29, 10:33 pm)
Re: [patch 1/2] genirq: Run irq handlers with interrupts d ...
, Thomas Gleixner
, (Wed Mar 31, 4:16 am)
Re: [patch 1/2] genirq: Run irq handlers with interrupts d ...
, Pavel Machek
, (Fri Apr 2, 2:31 am)
Re: [patch 1/2] genirq: Run irq handlers with interrupts d ...
, Thomas Gleixner
, (Fri Apr 2, 1:42 pm)
Re: [patch 1/2] genirq: Run irq handlers with interrupts d ...
, Pavel Machek
, (Fri Apr 2, 2:09 pm)
Re: [patch 1/2] genirq: Run irq handlers with interrupts d ...
, Peter Zijlstra
, (Fri Apr 2, 2:31 pm)
Re: [patch 1/2] genirq: Run irq handlers with interrupts d ...
, Thomas Gleixner
, (Fri Apr 2, 3:51 pm)
Re: [patch 1/2] genirq: Run irq handlers with interrupts d ...
, Pavel Machek
, (Fri Apr 2, 9:45 pm)
[tip:irq/core] genirq: Run irq handlers with interrupts di ...
, tip-bot for Ingo Molnar
, (Tue Apr 13, 12:33 pm)
[tip:irq/core] genirq: Remove IRQF_DISABLED from core code
, tip-bot for Thomas G ...
, (Tue Apr 13, 12:34 pm)
Re: [tip:irq/core] genirq: Run irq handlers with interrupt ...
, Peter Zijlstra
, (Thu Apr 15, 12:35 am)
Re: [patch 1/2] genirq: Run irq handlers with interrupts d ...
, Venkatesh Pallipadi
, (Tue May 25, 1:32 pm)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Chris Mason
Re: [Bug #11548] kernel BUG at drivers/pci/intel-iommu.c:1373!
Rafael J. Wysocki
[Bug #11559] 2.6.27-rc6: nohz + s2ram = need to press keys to get progress
Linus Torvalds
Linux 2.6.34-rc4
David Miller
Re: 'global' rq->clock
Uwe
NOHZ: local_softirq_pending 20
git
:
Len Brown
Re: fatal: unable to create '.git/index': File exists
Oliver Hoffmann
git init --bare versus git --bare init
Sam Song
Fwd: [OT] Re: Git via a proxy server?
Neal Kreitzinger
Re: clone --bare vs push
Dan Chokola
Re: how do you "force a pull"?
linux-netdev
:
William Allen Simpson
[net-next-2.6 PATCH v8 0/7] TCPCT part 1: cookie option exchange
Jamie Lokier
Re: POHMELFS high performance network filesystem. Transactions, failover, performa...
Ramachandra K
Re: [ofa-general] Re: [PATCH 10/13] QLogic VNIC: Driver Statistics collection
Changli Gao
RFC: netfilter: synproxy iptables target
Herbert Xu
Re: Error: an inet prefix is expected rather than "0/0".
openbsd-misc
:
Sevan / Venture37
Re: This is what Linus Torvalds calls openBSD crowd
Darrin Chandler
Re: OT: Python (was Re: vi in /bin)
Gilles Chehade
Re: Longest Uptime?
BESnet
BESnet - Aplicativo de Actualização segura
Darrin Chandler
Re: OT: Python (was Re: vi in /bin)
git-commits-head
:
Linux Kernel Mailing List
ASoC: fix registration of the SoC card in the Freescale MPC8610 drivers
Linux Kernel Mailing List
drivers/acpi: use kasprintf
Linux Kernel Mailing List
checkpatch: add check for too short Kconfig descriptions
Linux Kernel Mailing List
V4L/DVB (10826): cx88: Add IR support to pcHDTV HD3000 & HD5500
Linux Kernel Mailing List
[ARM] pxa/cm-x300: enable USB port 2 for PXA300
Colocation donated by:
Syndicate