login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
August
»
4
Re: [PATCH 00/25] dyn_array and nr_irqs support v3
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: Mike Travis
Subject:
Re: [PATCH 00/25] dyn_array and nr_irqs support v3
Date: Monday, August 4, 2008 - 7:31 am
Eric W. Biederman wrote:
quoted text
> "Yinghai Lu" <yhlu.kernel@gmail.com> writes: > >> On Sat, Aug 2, 2008 at 10:51 PM, Eric W. Biederman >> <ebiederm@xmission.com> wrote: >>> It appears that quite a few of the places you have changed are testing >>> to see if an irq is valid. The idiomatic way to perform that test in >>> the kernel is: >>> >>> if (irq) >> is uninitialized irq to be -1 or 0? > > 0. There is a long history behind it, but by decree of Linus and to conform > with reasonable intuition 0 is not a valid irq except in certain arch specific > corner cases. > >>> With no test to see if you are >= NR_IRQS. >>> >>> I expect that is the change we want in the drivers that are performing such a >> silly >>> extra check. >> is_irq_valid(irq_no) ? >> >> wait to see your new patchset about dyn irq_cfg and irq_desc > > I haven't promised one, at least not lately. I went down a couple of > blind alleys and figured out what needed to be accomplished and then > ran out of steam about a year and a half 2 years ago, and I haven't > been able to get back to it. > > Eric
I've put this on my queue of "items to examine more closely". Priority-wise, it's not quite at the front yet. Thanks, Mike --
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/25] dyn_array and nr_irqs support v3
, Yinghai Lu
, (Sat Aug 2, 7:59 pm)
[PATCH 01/25] x86: 64bit support more than 256 irq v2
, Yinghai Lu
, (Sat Aug 2, 7:59 pm)
[PATCH 02/25] x86: remove irq_vectors_limits
, Yinghai Lu
, (Sat Aug 2, 7:59 pm)
[PATCH 03/25] add dyn_array support
, Yinghai Lu
, (Sat Aug 2, 7:59 pm)
[PATCH 04/25] add per_cpu_dyn_array support
, Yinghai Lu
, (Sat Aug 2, 7:59 pm)
[PATCH 05/25] x86: alloc dyn_array all alltogether
, Yinghai Lu
, (Sat Aug 2, 7:59 pm)
[PATCH 06/25] x86: enable dyn_array support
, Yinghai Lu
, (Sat Aug 2, 7:59 pm)
[PATCH 07/25] introduce nr_irqs
, Yinghai Lu
, (Sat Aug 2, 7:59 pm)
[PATCH 08/25] x86: using nr_irqs
, Yinghai Lu
, (Sat Aug 2, 7:59 pm)
[PATCH 09/25] drivers/char to use nr_irqs
, Yinghai Lu
, (Sat Aug 2, 7:59 pm)
[PATCH 10/25] drivers/net to use nr_irqs
, Yinghai Lu
, (Sat Aug 2, 7:59 pm)
[PATCH 11/25] drivers intr remapping to use nr_irqs
, Yinghai Lu
, (Sat Aug 2, 7:59 pm)
[PATCH 12/25] drivers/pcmcia to use nr_irqs
, Yinghai Lu
, (Sat Aug 2, 7:59 pm)
[PATCH 13/25] drivers/rtc to use nr_irqs
, Yinghai Lu
, (Sat Aug 2, 7:59 pm)
[PATCH 14/25] drivers/scsi to use nr_irqs
, Yinghai Lu
, (Sat Aug 2, 7:59 pm)
[PATCH 15/25] drivers/serial to use nr_irqs
, Yinghai Lu
, (Sat Aug 2, 7:59 pm)
[PATCH 16/25] drivers proc to use nr_irqs
, Yinghai Lu
, (Sat Aug 2, 7:59 pm)
[PATCH 17/25] drivers xen events to use nr_irqs
, Yinghai Lu
, (Sat Aug 2, 7:59 pm)
[PATCH 18/25] make irq_timer_state to use dyn_array
, Yinghai Lu
, (Sat Aug 2, 7:59 pm)
[PATCH 19/25] make irq2_iommu to use dyn_array
, Yinghai Lu
, (Sat Aug 2, 7:59 pm)
[PATCH 20/25] make irq_desc to use dyn_array
, Yinghai Lu
, (Sat Aug 2, 7:59 pm)
[PATCH 21/25] serial: change remove NR_IRQS in 8250.c v2
, Yinghai Lu
, (Sat Aug 2, 7:59 pm)
[PATCH 22/25] irq: make irqs in kernel stat use per_cpu_dy ...
, Yinghai Lu
, (Sat Aug 2, 7:59 pm)
[PATCH 23/25] x86: use dyn_array in io_apic_xx.c
, Yinghai Lu
, (Sat Aug 2, 7:59 pm)
[PATCH 24/25] x86: get mp_irqs from madt
, Yinghai Lu
, (Sat Aug 2, 7:59 pm)
[PATCH 25/25] x86: remove nr_irq_vectors
, Yinghai Lu
, (Sat Aug 2, 7:59 pm)
Re: [PATCH 03/25] add dyn_array support
, Johannes Weiner
, (Sat Aug 2, 9:03 pm)
Re: [PATCH 05/25] x86: alloc dyn_array all alltogether
, Johannes Weiner
, (Sat Aug 2, 9:16 pm)
Re: [PATCH 03/25] add dyn_array support
, Yinghai Lu
, (Sat Aug 2, 9:21 pm)
Re: [PATCH 03/25] add dyn_array support
, Johannes Weiner
, (Sat Aug 2, 9:55 pm)
Re: [PATCH 03/25] add dyn_array support
, Yinghai Lu
, (Sat Aug 2, 10:04 pm)
Re: [PATCH 03/25] add dyn_array support
, Johannes Weiner
, (Sat Aug 2, 10:31 pm)
Re: [PATCH 03/25] add dyn_array support
, Yinghai Lu
, (Sat Aug 2, 10:39 pm)
Re: [PATCH 03/25] add dyn_array support
, Yinghai Lu
, (Sat Aug 2, 10:40 pm)
Re: [PATCH 03/25] add dyn_array support
, Johannes Weiner
, (Sat Aug 2, 10:47 pm)
Re: [PATCH 03/25] add dyn_array support
, Yinghai Lu
, (Sat Aug 2, 10:48 pm)
Re: [PATCH 00/25] dyn_array and nr_irqs support v3
, Eric W. Biederman
, (Sat Aug 2, 10:51 pm)
Re: [PATCH 00/25] dyn_array and nr_irqs support v3
, Yinghai Lu
, (Sat Aug 2, 11:04 pm)
Re: [PATCH 00/25] dyn_array and nr_irqs support v3
, Eric W. Biederman
, (Sat Aug 2, 11:39 pm)
Re: [PATCH 00/25] dyn_array and nr_irqs support v3
, Yinghai Lu
, (Sun Aug 3, 1:25 am)
Re: [PATCH 00/25] dyn_array and nr_irqs support v3
, Eric W. Biederman
, (Sun Aug 3, 2:15 am)
Re: [PATCH 15/25] drivers/serial to use nr_irqs
, Alan Cox
, (Sun Aug 3, 6:02 am)
Re: [PATCH 21/25] serial: change remove NR_IRQS in 8250.c v2
, Alan Cox
, (Sun Aug 3, 6:03 am)
Re: [PATCH 21/25] serial: change remove NR_IRQS in 8250.c v2
, Alan Cox
, (Sun Aug 3, 8:14 am)
Re: [PATCH 15/25] drivers/serial to use nr_irqs
, Yinghai Lu
, (Sun Aug 3, 10:43 am)
Re: [PATCH 00/25] dyn_array and nr_irqs support v3
, Yinghai Lu
, (Sun Aug 3, 10:54 am)
Re: [PATCH 00/25] dyn_array and nr_irqs support v3
, Yinghai Lu
, (Sun Aug 3, 12:20 pm)
Re: [PATCH 21/25] serial: change remove NR_IRQS in 8250.c v2
, Eric W. Biederman
, (Sun Aug 3, 12:57 pm)
Re: [PATCH 00/25] dyn_array and nr_irqs support v3
, Yinghai Lu
, (Sun Aug 3, 6:59 pm)
Re: [PATCH 21/25] serial: change remove NR_IRQS in 8250.c v2
, Alan Cox
, (Mon Aug 4, 7:17 am)
Re: [PATCH 00/25] dyn_array and nr_irqs support v3
, Mike Travis
, (Mon Aug 4, 7:31 am)
Re: [PATCH 21/25] serial: change remove NR_IRQS in 8250.c v2
, Yinghai Lu
, (Mon Aug 4, 11:13 am)
Re: [PATCH 21/25] serial: change remove NR_IRQS in 8250.c v2
, Eric W. Biederman
, (Mon Aug 4, 11:51 am)
Re: [PATCH 00/25] dyn_array and nr_irqs support v3
, H. Peter Anvin
, (Tue Aug 5, 4:01 pm)
Re: [PATCH 00/25] dyn_array and nr_irqs support v3
, Yinghai Lu
, (Tue Aug 5, 4:15 pm)
Re: [PATCH 00/25] dyn_array and nr_irqs support v3
, H. Peter Anvin
, (Tue Aug 5, 4:26 pm)
Re: [PATCH 00/25] dyn_array and nr_irqs support v3
, Yinghai Lu
, (Tue Aug 5, 4:53 pm)
[PATCH] serial: Remove NR_IRQS usage
, Alan Cox
, (Wed Aug 6, 6:09 am)
Re: [PATCH] serial: Remove NR_IRQS usage
, Eric W. Biederman
, (Wed Aug 6, 9:10 am)
Navigation
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Fortier,Vincent [Montreal]
2.6.21.5 june 30th to july 1st date hang?
Jeff Dike
[ PATCH 2/6 ] UML - Formatting fixes around os_{read_write}_file callers
Liam Girdwood
[PATCH 07/13] regulator: regulator test harness
Oleg Nesterov
Re: Getting the new RxRPC patches upstream
Stefan Seyfried
Re: 2.6.19-rc5: grub is much slower resuming from suspend-to-disk than in 2.6.18
linux-netdev
:
Arnaud Ebalard
Re: [REGRESSION,BISECTED] MIPv6 support broken by f4f914b58019f0
Jan Engelhardt
Re: [PATCH iptables] extension: add xt_cpu match
Jarek Poplawski
Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
Sebastian Andrzej Siewior
[PATCH 8/8] net/emergency: remove locking from reycling pool if emergncy pools are...
David Miller
Re: [PATCH] qlcnic: dont assume NET_IP_ALIGN is 2
git
:
Jakub Narebski
Re: git on MacOSX and files with decomposed utf-8 file names
Brandon Casey
Re: Thunderbird and patches (was Re: [PATCH v2] Enable setting attach as the def...
Christian Couder
[PATCH 1/3] rev-parse: add test script for "--verify"
Ramkumar Ramachandra
Re: [GSoC update] git-remote-svn: The final one
Junio C Hamano
Re: git-rm isn't the inverse action of git-add
openbsd-misc
:
Joachim Schipper
Re: UVC Webcams
Florin Andrei
SOLVED [was: firewall is very slow, something's wrong]
Todd Alan Smith
Re: Microsoft gets the Most Secure Operating Systems award
Neal Hogan
Re: Need Advice: Thinkpad T60 or T61?
Sam Fourman Jr.
Re: Real men don't attack straw men
git-commits-head
:
Linux Kernel Mailing List
ACPI: Disable ARB_DISABLE on platforms where it is not needed
Linux Kernel Mailing List
m68knommu: add read_barrier_depends() and irqs_disabled_flags()
Linux Kernel Mailing List
[MTD] Add mtd panic_write function pointer
Linux Kernel Mailing List
[ARM] pxa: remove duplicate select statements from Kconfig
Linux Kernel Mailing List
mlx4_core: Don't read reserved fields in mlx4_QUERY_ADAPTER()
Colocation donated by:
Syndicate