IB/ehca: Change idr spinlocks into rwlocks
authorJoachim Fenkes <fenkes@de.ibm.com>
Mon, 9 Jul 2007 13:31:10 +0000 (15:31 +0200)
committerRoland Dreier <rolandd@cisco.com>
Tue, 10 Jul 2007 03:12:27 +0000 (20:12 -0700)
commit26ed687fdd541c2542b79dcd75fb2c82eb36f189
tree45d5ad42b6b9259f273cc274d0fbf18a6d169e91
parent28db6beb420c756c61dd44d9f2786a0677159e74
IB/ehca: Change idr spinlocks into rwlocks

This eliminates lock contention among IRQs as well as the need to
disable IRQs around idr_find, because there are no IRQ writers.

Signed-off-by: Joachim Fenkes <fenkes@de.ibm.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/hw/ehca/ehca_classes.h
drivers/infiniband/hw/ehca/ehca_cq.c
drivers/infiniband/hw/ehca/ehca_irq.c
drivers/infiniband/hw/ehca/ehca_main.c
drivers/infiniband/hw/ehca/ehca_qp.c
drivers/infiniband/hw/ehca/ehca_uverbs.c