[openib-general] race in mthca_cq.c?

Michael S. Tsirkin mst at mellanox.co.il
Sat Jun 10 23:38:42 PDT 2006


Quoting r. Roland Dreier <rdreier at cisco.com>:
>     Michael> But there might be more EQEs for this CQN outstanding in
>     Michael> the EQ which we have not seen yet.
> 
> Now that you mention it, that could be a real problem I guess.
> synchronize_irq() isn't enough because the interrupt handler might not
> have even started yet.

Only in MSI configurations though: with regular interrupts command interface
shares IRQ with completions so the EQ will be emptied before interrupt handler
is done.

-- 
MST




More information about the general mailing list