Thread (13 messages) 13 messages, 6 authors, 2007-12-04

Re: [PATCH] Add IPIC MSI interrupt support

From: Scott Wood <hidden>
Date: 2007-12-04 13:13:55

On Tue, Dec 04, 2007 at 11:04:18PM +1100, Michael Ellerman wrote:
On Tue, 2007-12-04 at 18:34 +0800, Li Tony wrote:
quoted
I am not very sure about spin_lock influence.
But maybe somebody will change the virq_to_hw implementation.
I will take virq_to_hw instead. 
I mean the time to take the function call should be pretty small
compared to taking and releasing a spinlock - but if you have
performance numbers to prove otherwise let me know :)
I don't think the IPIC is used on any SMP platforms at the moment, so
there's no spinlock overhead other than disabling interrupts...

That said, it's not worth reimplementing to avoid a function call.

-Scott
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help