Patent Number: 8,880,757

Title: RDMA resource leakage detection and reporting

Abstract: Mechanisms are provided for remote direct memory access (RDMA) resource leak detection. A user space context is generated comprising a user space RDMA resource hierarchical data structure. A kernel context is generated comprising a kernel RDMA resource hierarchical data structure. The kernel RDMA resource hierarchical data structure comprises nodes of the users space RDMA resource hierarchical data structure. A request to close a RDMA resource is received and the user space RDMA resource hierarchical data structure is traversed to determine whether the RDMA resource has child RDMA resources allocated in the user space RDMA resource hierarchical data structure. A resource leak is detected in response to determining, based on at least one of the user space RDMA resource hierarchical data structure or the kernel RDMA resource hierarchical data structure, that the RDMA resource has a child RDMA resource allocated in the user space RDMA resource hierarchical data structure.

Inventors: Cardona; Omar (Cedar Park, TX), Messing; Jeffrey P. (Round Rock, TX), Soto Gonzalez; Carol L. (Pflugerville, TX), Torres; Pedro V. (Pflugerville, TX)

Assignee: International Business Machines Corporation

International Classification: G06F 13/28 (20060101); G06F 3/00 (20060101); G06F 5/00 (20060101)

Expiration Date: 2019-11-04 0:00:00