From: Sean Hefty Date: Thu, 19 Jul 2012 17:09:48 +0000 (-0700) Subject: librdmacm: Only allocate verbs resources when needed X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=c44b3110a4c065b9209985f74341f48259247f37;p=~shefty%2Flibrdmacm.git librdmacm: Only allocate verbs resources when needed The librdmacm allocates a PD per device on initialization. Although we need to maintain the device list while the library is loaded (see rdma_get_devices), we can reduce the overhead by only allocating verbs resources when they are needed. This allows the rsocket preload library to support fork for applications that spawn connections off to child processes. Signed-off-by: Sean Hefty ---