From c44b3110a4c065b9209985f74341f48259247f37 Mon Sep 17 00:00:00 2001 From: Sean Hefty Date: Thu, 19 Jul 2012 10:09:48 -0700 Subject: [PATCH] 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 -- 2.45.2