Re: [PATCH 00/07] dyn_array/nr_irqs/sparse_irq support v10 - fix

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Ingo Molnar
Date: Friday, August 15, 2008 - 1:51 am

* Yinghai Lu <yhlu.kernel@gmail.com> wrote:


that's ok - we can do include/linux/irq_desc.h that isnt generally 
included by drivers via interrupt.h. Then later on we can eliminate that 
include file altogether.

here's the current field usage histogram:

      3 desc->action
      3 desc->depth
      9 desc->affinity
     15 desc->chip
     22 desc->status

desc->status: mostly IRQ_MOVE_PENDING related. irq-balancing code should 
be abstracted into kernel/irq/* perhaps?

desc->action / desc->depth / desc->action: i dont think those should be 
accessed by genirq arch irq code.

desc->chip: there's a get_irq_chip() method already. irq_chip is 
something that obviously is known to architecture code - it's the irq 
controller 'driver' that the architecture code provides.

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

Messages in current thread:
[PATCH 2/7] x86: remove union about dest for log/phy, Yinghai Lu, (Thu Aug 14, 7:20 pm)
[PATCH 6/7] x86: ordering functions in io_apic_32.c, Yinghai Lu, (Thu Aug 14, 7:20 pm)
[PATCH 7/7] x86: ordering functions in io_apic_64.c, Yinghai Lu, (Thu Aug 14, 7:20 pm)
Re: [PATCH 00/07] dyn_array/nr_irqs/sparse_irq support v10 ..., Ingo Molnar, (Fri Aug 15, 1:51 am)