Re: [git patch] free_irq() fixes

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Rene Herman
Date: Wednesday, April 23, 2008 - 6:51 am

On 23-04-08 02:16, Linus Torvalds wrote:


Saves another 4 bytes of stack? :-/ Seriously, Jeff can probably better 
answer himself but when this was posted before:

http://lkml.org/lkml/2007/5/19/23

Eric Biederman said it fit nicely into his "nefarious plan of making 
everything use a struct irq pointer". A later mention:

http://lkml.org/lkml/2007/10/19/66

got strong ACKs from Thomas Gleixner, Ingo Molnar and Greg KH. Remember due 
to working on a local driver at the time and deleting the "irq" argument 
usage from its handler (unneccesarily used in a debugging printk) from it in 
response.

My own view is that if it's not really overly painful this does make for a 
nice API cleanliness thing -- the IRQ level is only relevant to the lower 
level generic handler code not the "driver endpoint handler" and not passing 
it in the first place thereby is in keeping with this layering.

Rene.
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[git patch] free_irq() fixes, Jeff Garzik, (Tue Apr 22, 3:17 pm)
Re: [git patch] free_irq() fixes, Linus Torvalds, (Tue Apr 22, 3:25 pm)
Re: [git patch] free_irq() fixes, Jeff Garzik, (Tue Apr 22, 3:59 pm)
Re: [git patch] free_irq() fixes, Linus Torvalds, (Tue Apr 22, 4:20 pm)
Re: [git patch] free_irq() fixes, Jeff Garzik, (Tue Apr 22, 4:49 pm)
Re: [git patch] free_irq() fixes, Linus Torvalds, (Tue Apr 22, 4:52 pm)
Re: [git patch] free_irq() fixes, Adrian Bunk, (Tue Apr 22, 5:05 pm)
Re: [git patch] free_irq() fixes, Linus Torvalds, (Tue Apr 22, 5:16 pm)
Re: [git patch] free_irq() fixes, Rene Herman, (Wed Apr 23, 6:51 am)
Re: [git patch] free_irq() fixes, Jeff Garzik, (Wed Apr 23, 7:10 pm)
Re: [git patch] free_irq() fixes, Linus Torvalds, (Wed Apr 23, 7:19 pm)
Re: [git patch] free_irq() fixes, Eric W. Biederman, (Wed Apr 23, 10:59 pm)
Re: [git patch] free_irq() fixes, Jeff Garzik, (Thu Apr 24, 3:53 am)
Re: [git patch] free_irq() fixes, Linus Torvalds, (Thu Apr 24, 8:16 am)
Re: [git patch] free_irq() fixes, Alan Cox, (Thu Apr 24, 8:37 am)
Re: [git patch] free_irq() fixes, Jeff Garzik, (Thu Apr 24, 8:40 am)
Re: [git patch] free_irq() fixes, Linus Torvalds, (Thu Apr 24, 8:55 am)
Re: [git patch] free_irq() fixes, Jeff Garzik, (Thu Apr 24, 9:16 am)
Re: [git patch] free_irq() fixes, Jeff Garzik, (Thu Apr 24, 9:20 am)
Re: [git patch] free_irq() fixes, Eric W. Biederman, (Thu Apr 24, 9:48 am)
Re: [git patch] free_irq() fixes, Linus Torvalds, (Thu Apr 24, 9:58 am)
Re: [git patch] free_irq() fixes, Jeff Garzik, (Thu Apr 24, 10:30 am)
Re: [git patch] free_irq() fixes, Eric W. Biederman, (Thu Apr 24, 11:15 am)
Re: [git patch] free_irq() fixes, Eric W. Biederman, (Thu Apr 24, 7:53 pm)
Re: MSI, fun for the whole family, Roland Dreier, (Thu Apr 24, 8:57 pm)
Re: MSI, fun for the whole family, David Miller, (Thu Apr 24, 9:19 pm)
Re: MSI, fun for the whole family, Jeff Garzik, (Thu Apr 24, 9:35 pm)
Re: MSI, fun for the whole family, Eric W. Biederman, (Thu Apr 24, 10:08 pm)
Re: MSI, fun for the whole family, Eric W. Biederman, (Thu Apr 24, 10:48 pm)
Re: MSI, fun for the whole family, Roland Dreier, (Fri Apr 25, 3:44 pm)