login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2010
»
October
»
3
Re: [patch 16/47] genirq: Implement sane enumeration
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: Grant Likely
Subject:
Re: [patch 16/47] genirq: Implement sane enumeration
Date: Sunday, October 3, 2010 - 3:55 am
On Thu, Sep 30, 2010 at 11:15:51PM -0000, Thomas Gleixner wrote:
quoted text
> Use the allocator bitmap to lookup active interrupts. > > Signed-off-by: Thomas Gleixner <tglx@linutronix.de> > ---
[...]
quoted text
> Index: linux-2.6-tip/kernel/irq/irqdesc.c > =================================================================== > --- linux-2.6-tip.orig/kernel/irq/irqdesc.c > +++ linux-2.6-tip/kernel/irq/irqdesc.c > @@ -470,6 +470,23 @@ err: > return ret; > } > > +/** > + * irq_get_next_irq - get next allocated irq number > + * @offset: where to start the search > + * > + * Returns next irq number after offset or nr_irqs if none is found. > + */ > +unsigned int irq_get_next_irq(unsigned int offset) > +{ > + unsigned long flags; > + unsigned int res; > + > + raw_spin_lock_irqsave(&sparse_irq_lock, flags); > + res = find_next_bit_set(allocated_irqs, nr_irqs, offset); > + raw_spin_unlock_irqsave(&sparse_irq_lock, flags); > + return res; > +}
Where is the bitmap defined? I don't see it in the queue; but I also notice that patch #14 is missing. Is it defined there? g. --
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 00/47] Sparse irq rework
, Thomas Gleixner
, (Thu Sep 30, 4:14 pm)
[patch 01/47] x86: Plug memory leak in sparse irq
, Thomas Gleixner
, (Thu Sep 30, 4:14 pm)
[patch 02/47] x86: Hpet: Fix bogus error check in hpet_ass ...
, Thomas Gleixner
, (Thu Sep 30, 4:14 pm)
[patch 03/47] genirq: Provide status modifier
, Thomas Gleixner
, (Thu Sep 30, 4:14 pm)
[patch 04/47] arm: Use irq status modifier
, Thomas Gleixner
, (Thu Sep 30, 4:14 pm)
[patch 05/47] genirq-sanitize-irq-data-accessors.patch
, Thomas Gleixner
, (Thu Sep 30, 4:14 pm)
[patch 06/47] genirq: Distangle kernel/irq/handle.c
, Thomas Gleixner
, (Thu Sep 30, 4:15 pm)
[patch 07/47] genirq: Remove early_init_irq_lock_class()
, Thomas Gleixner
, (Thu Sep 30, 4:15 pm)
[patch 08/47] genirq: Move core only inlines to kernel/irq
, Thomas Gleixner
, (Thu Sep 30, 4:15 pm)
[patch 09/47] isdn: hisax: Replace the bogus access to irq ...
, Thomas Gleixner
, (Thu Sep 30, 4:15 pm)
[patch 10/47] genirq: Remove export of kstat_irqs_cpu
, Thomas Gleixner
, (Thu Sep 30, 4:15 pm)
[patch 11/47] genirq: Provide default irq init flags
, Thomas Gleixner
, (Thu Sep 30, 4:15 pm)
[patch 12/47] arm: Use ARCH_IRQ_INIT_FLAGS
, Thomas Gleixner
, (Thu Sep 30, 4:15 pm)
[patch 13/47] powerpc: Use ARCH_IRQ_INIT_FLAGS
, Thomas Gleixner
, (Thu Sep 30, 4:15 pm)
[patch 14/47] genirq: Implement a sane sparse_irq allocator
, Thomas Gleixner
, (Thu Sep 30, 4:15 pm)
[patch 15/47] genirq: Prepare proc for real sparse irq support
, Thomas Gleixner
, (Thu Sep 30, 4:15 pm)
[patch 16/47] genirq: Implement sane enumeration
, Thomas Gleixner
, (Thu Sep 30, 4:15 pm)
[patch 17/47] genirq-update-kerneldoc.patch
, Thomas Gleixner
, (Thu Sep 30, 4:15 pm)
[patch 18/47] genirq: Use sane sparse allocator
, Thomas Gleixner
, (Thu Sep 30, 4:16 pm)
[patch 19/47] genirq: Query arch for number of early descr ...
, Thomas Gleixner
, (Thu Sep 30, 4:16 pm)
[patch 20/47] x86: Remove useless reinitialization of irq ...
, Thomas Gleixner
, (Thu Sep 30, 4:16 pm)
[patch 21/47] x86: Sanitize apb timer interrupt handling
, Thomas Gleixner
, (Thu Sep 30, 4:16 pm)
[patch 22/47] x86: lguest: Convert to new irq chip functions
, Thomas Gleixner
, (Thu Sep 30, 4:16 pm)
[patch 23/47] x86: Cleanup visws interrupt handling
, Thomas Gleixner
, (Thu Sep 30, 4:16 pm)
[patch 24/47] x86: i8259: Convert to new irq_chip functions
, Thomas Gleixner
, (Thu Sep 30, 4:16 pm)
[patch 25/47] x86: Cleanup io_apic
, Thomas Gleixner
, (Thu Sep 30, 4:16 pm)
[patch 26/47] x86: io_apic: Convert startup to new irq_chi ...
, Thomas Gleixner
, (Thu Sep 30, 4:16 pm)
[patch 27/47] x86: ioapic: Convert mask to new irq_chip fu ...
, Thomas Gleixner
, (Thu Sep 30, 4:16 pm)
[patch 28/47] x86: ioapic/hpet: Convert to new chip functions
, Thomas Gleixner
, (Thu Sep 30, 4:16 pm)
[patch 29/47] pci: Convert msi to new irq_chip functions
, Thomas Gleixner
, (Thu Sep 30, 4:16 pm)
[patch 30/47] dmar: Convert to new irq chip functions
, Thomas Gleixner
, (Thu Sep 30, 4:16 pm)
[patch 31/47] ht: Convert to new irq_chip functions
, Thomas Gleixner
, (Thu Sep 30, 4:17 pm)
[patch 32/47] x86: ioapic: Clean up the direct access to i ...
, Thomas Gleixner
, (Thu Sep 30, 4:17 pm)
[patch 33/47] pci: Cleanup the irq_desc mess in msi
, Thomas Gleixner
, (Thu Sep 30, 4:17 pm)
[patch 34/47] x86: ioapic: Convert irq affinity to new chi ...
, Thomas Gleixner
, (Thu Sep 30, 4:17 pm)
[patch 35/47] x86: ioapic: Cleanup some more
, Thomas Gleixner
, (Thu Sep 30, 4:17 pm)
[patch 36/47] x86: ioapic: Cleanup sparse irq code
, Thomas Gleixner
, (Thu Sep 30, 4:17 pm)
[patch 37/47] x86: uv: Clean up the direct access to irq_desc
, Thomas Gleixner
, (Thu Sep 30, 4:17 pm)
[patch 38/47] x86: Use sane enumeration
, Thomas Gleixner
, (Thu Sep 30, 4:17 pm)
[patch 39/47] genirq: Remove arch_init_chip_data()
, Thomas Gleixner
, (Thu Sep 30, 4:17 pm)
[patch 40/47] genirq: Sanitize dynamic irq handling
, Thomas Gleixner
, (Thu Sep 30, 4:17 pm)
[patch 41/47] arm: davinci: Cleanup irq_desc access
, Thomas Gleixner
, (Thu Sep 30, 4:18 pm)
[patch 42/47] genirq: Remove the now unused sparse irq lef ...
, Thomas Gleixner
, (Thu Sep 30, 4:18 pm)
[patch 43/47] x86: xen: Sanitise sparse_irq handling
, Thomas Gleixner
, (Thu Sep 30, 4:18 pm)
[patch 44/47] sh: Sanitize sparse irq
, Thomas Gleixner
, (Thu Sep 30, 4:18 pm)
[patch 45/47] x86: lguest: Use new irq allocator
, Thomas Gleixner
, (Thu Sep 30, 4:18 pm)
[patch 46/47] powerpc: Use new irq allocator
, Thomas Gleixner
, (Thu Sep 30, 4:18 pm)
[patch 47/47] genirq: Remove the old sparse irq allocator ...
, Thomas Gleixner
, (Thu Sep 30, 4:18 pm)
Re: [patch 46/47] powerpc: Use new irq allocator
, Benjamin Herrenschmidt
, (Thu Sep 30, 5:42 pm)
Re: [patch 00/47] Sparse irq rework
, Linus Torvalds
, (Thu Sep 30, 8:32 pm)
Re: [patch 14/47] genirq: Implement a sane sparse_irq allo ...
, Yinghai Lu
, (Thu Sep 30, 10:28 pm)
Re: [patch 40/47] genirq: Sanitize dynamic irq handling
, Yinghai Lu
, (Thu Sep 30, 10:47 pm)
Re: [patch 00/47] Sparse irq rework
, Yinghai Lu
, (Thu Sep 30, 10:54 pm)
Re: [patch 46/47] powerpc: Use new irq allocator
, Thomas Gleixner
, (Fri Oct 1, 6:07 am)
Re: [patch 00/47] Sparse irq rework
, Thomas Gleixner
, (Fri Oct 1, 1:35 pm)
Re: [patch 14/47] genirq: Implement a sane sparse_irq allo ...
, Thomas Gleixner
, (Fri Oct 1, 1:36 pm)
Re: [patch 46/47] powerpc: Use new irq allocator
, Benjamin Herrenschmidt
, (Fri Oct 1, 1:46 pm)
Re: [patch 46/47] powerpc: Use new irq allocator
, Grant Likely
, (Fri Oct 1, 2:11 pm)
Re: [patch 46/47] powerpc: Use new irq allocator
, Benjamin Herrenschmidt
, (Fri Oct 1, 2:17 pm)
Re: [patch 16/47] genirq: Implement sane enumeration
, Grant Likely
, (Sun Oct 3, 3:55 am)
Re: [patch 00/47] Sparse irq rework
, Grant Likely
, (Sun Oct 3, 4:23 am)
Re: [patch 00/47] Sparse irq rework
, Russell King - ARM Linux
, (Sun Oct 3, 4:29 am)
Re: [patch 00/47] Sparse irq rework
, Grant Likely
, (Sun Oct 3, 4:57 am)
Re: [patch 00/47] Sparse irq rework
, Thomas Gleixner
, (Sun Oct 3, 6:48 am)
Re: [patch 20/47] x86: Remove useless reinitialization of ...
, Eric W. Biederman
, (Sun Oct 3, 8:21 am)
Re: [patch 00/47] Sparse irq rework
, Eric W. Biederman
, (Sun Oct 3, 9:41 am)
Re: [patch 46/47] powerpc: Use new irq allocator
, Eric W. Biederman
, (Sun Oct 3, 9:53 am)
Re: [patch 20/47] x86: Remove useless reinitialization of ...
, Thomas Gleixner
, (Sun Oct 3, 11:26 am)
Re: [patch 46/47] powerpc: Use new irq allocator
, Thomas Gleixner
, (Sun Oct 3, 11:34 am)
Re: [patch 00/47] Sparse irq rework
, Thomas Gleixner
, (Sun Oct 3, 12:16 pm)
Re: [patch 46/47] powerpc: Use new irq allocator
, Thomas Gleixner
, (Sun Oct 3, 1:04 pm)
Re: [patch 46/47] powerpc: Use new irq allocator
, Benjamin Herrenschmidt
, (Sun Oct 3, 3:54 pm)
Re: [patch 00/47] Sparse irq rework
, Benjamin Herrenschmidt
, (Sun Oct 3, 3:57 pm)
Re: [patch 46/47] powerpc: Use new irq allocator
, Eric W. Biederman
, (Sun Oct 3, 5:15 pm)
Re: [patch 46/47] powerpc: Use new irq allocator
, Benjamin Herrenschmidt
, (Sun Oct 3, 5:37 pm)
Re: [patch 00/47] Sparse irq rework
, Eric W. Biederman
, (Sun Oct 3, 5:49 pm)
Re: [patch 00/47] Sparse irq rework
, Eric W. Biederman
, (Sun Oct 3, 6:13 pm)
Re: [patch 00/47] Sparse irq rework
, Ingo Molnar
, (Sun Oct 3, 11:36 pm)
Re: [patch 00/47] Sparse irq rework
, Thomas Gleixner
, (Mon Oct 4, 1:05 am)
Re: [patch 00/47] Sparse irq rework
, Grant Likely
, (Mon Oct 4, 9:31 am)
Re: [patch 46/47] powerpc: Use new irq allocator
, Grant Likely
, (Mon Oct 4, 9:46 am)
Re: [patch 00/47] Sparse irq rework
, Thomas Gleixner
, (Tue Oct 5, 3:22 am)
Re: [patch 00/47] Sparse irq rework
, Yinghai Lu
, (Wed Oct 6, 3:45 pm)
Re: [patch 00/47] Sparse irq rework
, Thomas Gleixner
, (Wed Oct 6, 3:52 pm)
Re: [patch 00/47] Sparse irq rework
, Yinghai Lu
, (Wed Oct 6, 4:37 pm)
Re: [patch 00/47] Sparse irq rework
, Yinghai Lu
, (Wed Oct 6, 5:16 pm)
Re: [patch 00/47] Sparse irq rework
, Thomas Gleixner
, (Wed Oct 6, 9:01 pm)
Re: [patch 00/47] Sparse irq rework
, Yinghai Lu
, (Wed Oct 6, 9:38 pm)
Re: [patch 00/47] Sparse irq rework
, Thomas Gleixner
, (Fri Oct 8, 2:50 pm)
Re: [patch 00/47] Sparse irq rework
, Thomas Gleixner
, (Fri Oct 8, 2:54 pm)
Re: [patch 00/47] Sparse irq rework
, Yinghai Lu
, (Fri Oct 8, 9:26 pm)
Re: [patch 00/47] Sparse irq rework
, Yinghai Lu
, (Fri Oct 8, 10:44 pm)
Re: [patch 00/47] Sparse irq rework
, Thomas Gleixner
, (Fri Oct 8, 11:10 pm)
Re: [patch 00/47] Sparse irq rework
, Thomas Gleixner
, (Fri Oct 8, 11:34 pm)
Re: [patch 00/47] Sparse irq rework
, Yinghai Lu
, (Sat Oct 9, 12:03 am)
Re: [patch 00/47] Sparse irq rework
, Yinghai Lu
, (Sat Oct 9, 12:08 am)
Re: [patch 00/47] Sparse irq rework
, Thomas Gleixner
, (Sat Oct 9, 5:08 am)
Re: [patch 00/47] Sparse irq rework
, Thomas Gleixner
, (Sat Oct 9, 5:12 am)
Re: [patch 00/47] Sparse irq rework
, Yinghai Lu
, (Sat Oct 9, 7:32 pm)
Re: [patch 00/47] Sparse irq rework
, Yinghai Lu
, (Sat Oct 9, 10:11 pm)
Re: [patch 00/47] Sparse irq rework
, Thomas Gleixner
, (Sun Oct 10, 1:20 am)
Re: [patch 00/47] Sparse irq rework
, Thomas Gleixner
, (Sun Oct 10, 2:32 am)
Re: [patch 00/47] Sparse irq rework
, Anca Emanuel
, (Sun Oct 10, 6:30 am)
Re: [patch 00/47] Sparse irq rework
, Yinghai Lu
, (Sun Oct 10, 7:20 pm)
Re: [patch 00/47] Sparse irq rework
, Yinghai Lu
, (Sun Oct 10, 8:50 pm)
Re: [patch 00/47] Sparse irq rework
, Thomas Gleixner
, (Mon Oct 11, 1:16 am)
Re: [patch 00/47] Sparse irq rework
, Benjamin Herrenschmidt
, (Mon Oct 11, 4:34 am)
Re: [patch 00/47] Sparse irq rework
, Yinghai Lu
, (Mon Oct 11, 9:19 am)
Re: [patch 33/47] pci: Cleanup the irq_desc mess in msi
, Jesse Barnes
, (Mon Oct 11, 10:08 am)
Re: [patch 29/47] pci: Convert msi to new irq_chip functions
, Jesse Barnes
, (Mon Oct 11, 10:09 am)
[tip:irq/core] x86: Don't setup ioapic irq for sci twice
, tip-bot for Yinghai Lu
, (Tue Oct 12, 1:23 pm)
Navigation
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Greg Kroah-Hartman
[PATCH 041/196] kobject: add kobject_init_and_add function
Lukas Hejtmanek
Re: Another libata error related to OCZ SSD
Greg Kroah-Hartman
[PATCH 023/196] MCP_UCB1200: Convert from class_device to device
Florian Fainelli
Re: System clock runs too fast after 2.6.27 -> 2.6.28.1 upgrade
Christoph Lameter
[patch 1/4] mmu_notifier: Core code
git
:
Johannes Schindelin
Re: [PATCH 1/2] Add strbuf_initf()
John Bito
[EGIT] Push to GitHub caused corruption
Jakub Narebski
Re: [PATCH 0/2] gitweb: patch view
Junio C Hamano
Re: [PATCH] When a remote is added but not fetched, tell the user.
Andy Parkins
Re: [RFC] Submodules in GIT
git-commits-head
:
Linux Kernel Mailing List
ahci: Workaround HW bug for SB600/700 SATA controller PMP support
Linux Kernel Mailing List
V4L/DVB (11086): au0828: rename macro for currently non-function VBI support
Linux Kernel Mailing List
ceph: client types
Linux Kernel Mailing List
ceph: on-wire types
Linux Kernel Mailing List
crypto: chainiv - Use kcrypto_wq instead of keventd_wq
linux-netdev
:
Andrew Morton
Re: [Bugme-new] [Bug 14969] New: b44: WOL does not work in suspended state
Giuseppe CAVALLARO
Re: [PATCH 03/13] stmmac: add the new Header file for stmmac platform data
Taku Izumi
[PATCH 3/3] ixgbe: add registers etc. printout code just before resetting adapters
Eric Dumazet
rps: some comments
Thomas Gleixner
Re: [RFC PATCH 02/12] On Tue, 23 Sep 2008, David Miller wrote:
openbsd-misc
:
Stephan Andreas
problems with login after xlock in OpenBSD release 4.7
pmc
Make A Change. Alcoholism and Drug Addiction Treatment
ropers
Re: what exactly is enc0?
Fuad NAHDI
Re: What does your environment look like?
Matthew Szudzik
Typo on OpenBSD 4.4 CD Set
Colocation donated by:
Syndicate