FujiZ
FujiZ
> AFAIK you can't multithread rdma_get_cm_event() with other CM operations, there is zero locking in this function so almost everything it does races against another cm operation of some kind....
The resources associated with one cm_id consist of two parts: 1) user space part which is represented by `struct cma_id_private`; 2) kernel space part which is `struct ucma_context`. So destroying...
Our application uses a background thread to handle connection setup procedure. It repeatedly calls `rdma_get_cm_event()`, initializes the necessary resource (QP, receive buffers, etc.) and handles state transitions of connections. Once...