Re: [RFC] killing the NR_IRQS arrays.

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Eric W. Biederman
Date: Wednesday, February 28, 2007 - 6:28 am

Benjamin Herrenschmidt <benh@kernel.crashing.org> writes:


Well irq_request is probably a bit late for associating an irq with
a struct device.  And I don't see how to get the device name from that
but making that association wouldn't be a bad thing.


Yes.  But if you can do a good job of wrapping them so a driver
wouldn't need to care at all that could help simplify drivers and
remove one more tidbit of complexity from drivers.

However for a widespread change.  The less you have to think about
it the more quickly you can get it completed.  So I would rather
do several wide spread changes in succession, that I don't have to
think about much to do (i.e.  the change mostly meets the obviously
correct requirement).  Then to do one single change that I have to
think about harder to accomplish.

The more thinking comes into the picture the more you open yourself up
to breaking something by accident because it wasn't clear how the code
should be changed, and the more it slows down the conversion.

Conversions where we have had to think about things are notoriously slow
to complete.  Even if they are a good thing to do.  The examples I can
think of are the kthread API and the DMA api.  Last I checked there
were still a few drivers in the kernel using virt_to_bus...

I don't really get the benefits I'm after unless the conversion can
actually be completed for everything.  So the more I have to think about
any one piece the less I intend to do it.

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

Messages in current thread:
[RFC] killing the NR_IRQS arrays., Eric W. Biederman, (Fri Feb 16, 5:10 am)
Re: [RFC] killing the NR_IRQS arrays., Andi Kleen, (Fri Feb 16, 5:16 am)
Re: [RFC] killing the NR_IRQS arrays., Ingo Molnar, (Fri Feb 16, 5:41 am)
Re: [RFC] killing the NR_IRQS arrays., Eric W. Biederman, (Fri Feb 16, 8:23 am)
Re: [RFC] killing the NR_IRQS arrays., Eric W. Biederman, (Fri Feb 16, 8:35 am)
Re: [RFC] killing the NR_IRQS arrays., Eric W. Biederman, (Fri Feb 16, 8:49 am)
Re: [RFC] killing the NR_IRQS arrays., Jeremy Fitzhardinge, (Fri Feb 16, 11:07 am)
Re: [RFC] killing the NR_IRQS arrays., Eric W. Biederman, (Fri Feb 16, 12:01 pm)
Re: [RFC] killing the NR_IRQS arrays., Jeremy Fitzhardinge, (Fri Feb 16, 12:06 pm)
Re: [RFC] killing the NR_IRQS arrays., Arnd Bergmann, (Fri Feb 16, 12:45 pm)
Re: [RFC] killing the NR_IRQS arrays., Russell King, (Fri Feb 16, 12:52 pm)
Re: [RFC] killing the NR_IRQS arrays., Arnd Bergmann, (Fri Feb 16, 1:43 pm)
Re: [RFC] killing the NR_IRQS arrays., Russell King, (Fri Feb 16, 1:59 pm)
Re: [RFC] killing the NR_IRQS arrays., Benjamin Herrenschmidt, (Fri Feb 16, 3:29 pm)
Re: [RFC] killing the NR_IRQS arrays., Benjamin Herrenschmidt, (Fri Feb 16, 3:33 pm)
Re: [RFC] killing the NR_IRQS arrays., Benjamin Herrenschmidt, (Fri Feb 16, 3:37 pm)
Re: [RFC] killing the NR_IRQS arrays., Arnd Bergmann, (Fri Feb 16, 6:37 pm)
Re: [RFC] killing the NR_IRQS arrays., Benjamin Herrenschmidt, (Fri Feb 16, 9:00 pm)
Re: [RFC] killing the NR_IRQS arrays., Eric W. Biederman, (Sat Feb 17, 1:51 am)
Re: [RFC] killing the NR_IRQS arrays., Eric W. Biederman, (Sat Feb 17, 2:06 am)
Re: [RFC] killing the NR_IRQS arrays., Eric W. Biederman, (Sat Feb 17, 2:34 am)
Re: [RFC] killing the NR_IRQS arrays., Benjamin Herrenschmidt, (Sat Feb 17, 2:04 pm)
Re: [RFC] killing the NR_IRQS arrays., Benjamin Herrenschmidt, (Sat Feb 17, 2:15 pm)
Re: [RFC] killing the NR_IRQS arrays., Benjamin Herrenschmidt, (Sat Feb 17, 2:20 pm)
Re: [RFC] killing the NR_IRQS arrays., Eric W. Biederman, (Sat Feb 17, 8:58 pm)
Re: [RFC] killing the NR_IRQS arrays., Eric W. Biederman, (Sat Feb 17, 9:58 pm)
Re: [RFC] killing the NR_IRQS arrays., Eric W. Biederman, (Sat Feb 17, 11:30 pm)
Re: [RFC] killing the NR_IRQS arrays., Benjamin Herrenschmidt, (Sun Feb 18, 12:58 pm)
Re: [RFC] killing the NR_IRQS arrays., Benjamin Herrenschmidt, (Sun Feb 18, 1:01 pm)
Re: [RFC] killing the NR_IRQS arrays., Arjan van de Ven, (Sun Feb 18, 2:24 pm)
Re: [RFC] killing the NR_IRQS arrays., Benjamin Herrenschmidt, (Sun Feb 18, 5:25 pm)
Re: [RFC] killing the NR_IRQS arrays., Eric W. Biederman, (Tue Feb 27, 1:29 pm)
Re: [RFC] killing the NR_IRQS arrays., Arnd Bergmann, (Tue Feb 27, 5:41 pm)
Re: [RFC] killing the NR_IRQS arrays., Eric W. Biederman, (Wed Feb 28, 12:20 am)
Re: [RFC] killing the NR_IRQS arrays., Benjamin Herrenschmidt, (Wed Feb 28, 1:09 am)
Re: [RFC] killing the NR_IRQS arrays., Arnd Bergmann, (Wed Feb 28, 5:24 am)
Re: [RFC] killing the NR_IRQS arrays., Segher Boessenkool, (Wed Feb 28, 6:02 am)
Re: [RFC] killing the NR_IRQS arrays., Eric W. Biederman, (Wed Feb 28, 6:28 am)
Re: [RFC] killing the NR_IRQS arrays., Eric W. Biederman, (Wed Feb 28, 6:53 am)
Re: [RFC] killing the NR_IRQS arrays., Benjamin Herrenschmidt, (Thu Mar 1, 3:47 am)