Re: [PATCH 00/16] dyn_array and nr_irqs support v2

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Yinghai Lu <yhlu.kernel@...>
Cc: Ingo Molnar <mingo@...>, Thomas Gleixner <tglx@...>, hpa <hpa@...>, Dhaval Giani <dhaval@...>, Mike Travis <travis@...>, Andrew Morton <akpm@...>, <linux-kernel@...>
Date: Friday, August 1, 2008 - 4:46 pm

Yinghai Lu <yhlu.kernel@gmail.com> writes:


YH you have not addressed any of my core concerns and this exceeds my review limit.
Unfortunately I don't feel like this is a productive process.

My core concerns are:
- You have not separated out and separately pushed the regression patch.  So that we can
  fix the current rc release.  Simply tuning NR_IRQS is all I feel comfortable with for
  fixing things in the post merge window period.

- The generic code has no business with dealing with NR_IRQS sized arrays.
  Since we don't have a generic problem I don't see why we should have a generic dyn_array solution.

- The dyn_array infrastructure does not provide for per numa node allocation of
  irq_desc structures, limiting NUMA scalability.

- You appear to be papering over problems instead of digging in and actually fixing them.

YH  Here is what I was suggesting when the topic of killing NR_IRQs came up a week or so
ago.
http://lkml.org/lkml/2008/7/10/439
http://lkml.org/lkml/2008/7/10/532

Which essentially boils down to:
- Removing NR_IRQS from the non-irq infrastructure code.
- Add a config option for architectures that are not going to use an array
- In the genirq code have a lookup function that goes from irq number to irq_desc *.

The rest we should be able to handle in a arch dependent fashion.

When we are done we should be able to create a stable irq number for msi interrupts
that is something like:  bus:dev:fun:vector_no which is 8+5+3+12=28 bits long.

Eric
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 00/16] dyn_array and nr_irqs support v2, Yinghai Lu, (Fri Aug 1, 5:37 am)
Re: [PATCH 00/16] dyn_array and nr_irqs support v2, Eric W. Biederman, (Fri Aug 1, 4:46 pm)
Re: [PATCH 00/16] dyn_array and nr_irqs support v2, Yinghai Lu, (Fri Aug 1, 10:58 pm)
Re: [PATCH 00/16] dyn_array and nr_irqs support v2, Mike Travis, (Fri Aug 1, 5:47 pm)
Re: [PATCH 00/16] dyn_array and nr_irqs support v2, Yinghai Lu, (Fri Aug 1, 5:30 pm)
Re: [PATCH 00/16] dyn_array and nr_irqs support v2, Eric W. Biederman, (Fri Aug 1, 6:38 pm)
Re: [PATCH 00/16] dyn_array and nr_irqs support v2, Yinghai Lu, (Fri Aug 1, 9:09 pm)
Re: [PATCH 00/16] dyn_array and nr_irqs support v2, Eric W. Biederman, (Fri Aug 1, 9:41 pm)
Re: [PATCH 00/16] dyn_array and nr_irqs support v2, Mike Travis, (Mon Aug 4, 8:57 am)
Re: [PATCH 00/16] dyn_array and nr_irqs support v2, H. Peter Anvin, (Mon Aug 4, 10:38 pm)
Re: [PATCH 00/16] dyn_array and nr_irqs support v2, Eric W. Biederman, (Mon Aug 4, 11:40 pm)
Re: [PATCH 00/16] dyn_array and nr_irqs support v2, H. Peter Anvin, (Mon Aug 4, 11:48 pm)
Re: [PATCH 00/16] dyn_array and nr_irqs support v2, Yinghai Lu, (Fri Aug 1, 10:01 pm)
Re: [PATCH 00/16] dyn_array and nr_irqs support v2, H. Peter Anvin, (Fri Aug 1, 10:03 pm)
Re: [PATCH 00/16] dyn_array and nr_irqs support v2, Eric W. Biederman, (Fri Aug 1, 10:39 pm)
Re: [PATCH 00/16] dyn_array and nr_irqs support v2, H. Peter Anvin, (Fri Aug 1, 11:28 pm)
Re: [PATCH 00/16] dyn_array and nr_irqs support v2, Eric W. Biederman, (Sat Aug 2, 12:42 am)
Re: [PATCH 00/16] dyn_array and nr_irqs support v2, H. Peter Anvin, (Sat Aug 2, 11:41 am)
Re: [PATCH 00/16] dyn_array and nr_irqs support v2, Eric W. Biederman, (Sat Aug 2, 4:20 pm)
Re: [PATCH 00/16] dyn_array and nr_irqs support v2, H. Peter Anvin, (Fri Aug 1, 9:36 pm)
Re: [PATCH 00/16] dyn_array and nr_irqs support v2, Yinghai Lu, (Fri Aug 1, 6:10 pm)
Re: [PATCH 00/16] dyn_array and nr_irqs support v2, Yinghai Lu, (Fri Aug 1, 5:57 pm)
Re: [PATCH 00/16] dyn_array and nr_irqs support v2, Eric W. Biederman, (Fri Aug 1, 6:45 pm)
[PATCH 01/16] x86: 64bit support more than 256 irq, Yinghai Lu, (Fri Aug 1, 5:37 am)
[PATCH 02/16] x86: introduce nr_irqs for 64bit v3, Yinghai Lu, (Fri Aug 1, 5:37 am)
[PATCH 03/16] add dyn_array support, Yinghai Lu, (Fri Aug 1, 5:37 am)
[PATCH 04/16] make irq_timer_state to use dyn_array, Yinghai Lu, (Fri Aug 1, 5:37 am)
[PATCH 05/16] make irq2_iommu to use dyn_array, Yinghai Lu, (Fri Aug 1, 5:37 am)
[PATCH 06/16] make irq_desc to use dyn_array, Yinghai Lu, (Fri Aug 1, 5:37 am)
[PATCH 07/16] x86: make 64bit support dyn_array, Yinghai Lu, (Fri Aug 1, 5:37 am)
[PATCH 09/16] add per_cpu_dyn_array support, Yinghai Lu, (Fri Aug 1, 5:37 am)