Re: [PATCH][3/26] IB/mthca: improve CQ locking part 1

From: Roland Dreier
Date: Fri Mar 04 2005 - 11:48:43 EST


Roland> What would pci_irq_sync() do exactly?

Greg> Consolidate common code like this? :)

I don't see how one can do that. As I pointed out in my reply to
Jeff, it actually requires understanding how the driver uses the
different MSI-X vectors to know which vector we need to synchronize
against. So it seems pci_irq_sync() would have to be psychic.

If we can figure out how to do that, maybe we can consolidate a lot
more code into an API like

void do_what_i_mean(void);

;)

- R.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/