Re: bge(4) interrupt handler fix for shared intr case

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
Cc: <tech-kern@...>, <jonathan@...>, <tsutsui@...>
Date: Sunday, November 26, 2006 - 1:31 pm

tls@rek.tjls.com wrote:


Hmm. Was it shared interrupt case?


The comment says checking BGE_MISC_LOCAL_CTL is expensive.
Is it also true for BGE_PCI_PCISTATE?

If interrupts are for bge(4) itself, bge_status is updated
in most case so BGE_PCI_PCISTATE is rarely checked.

If interrupts are not for bge(4), the register is checked
always, but is it more expensive than calling all unneeded
functions (and read/write against some registers) in handlers?
---
Izumi Tsutsui
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
bge(4) interrupt handler fix for shared intr case, Izumi Tsutsui, (Sun Nov 26, 12:54 pm)
Re: bge(4) interrupt handler fix for shared intr case, Thor Lancelot Simon, (Sun Nov 26, 1:16 pm)
Re: bge(4) interrupt handler fix for shared intr case, Izumi Tsutsui, (Sun Nov 26, 1:31 pm)
Re: bge(4) interrupt handler fix for shared intr case, Thor Lancelot Simon, (Sun Nov 26, 2:05 pm)