Re: [PATCH v2 0/3] new ib_drain_qp() API

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




Hello Sagi,

The srp_send_done() function accesses the ch->free_tx list without
locking. This is safe because all existing
ib_process_cq_direct(ch->send_cq, ...) calls occur while holding
ch->lock. The approach suggested above breaks that assumption.

But srp_send_done won't get invoked for the ib_drain_qp post send
because ->done doesn't point to it, Am I missing something?
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux