Patent ID: 8880757
Filing Date: 2014-11-04
Classification: G06F

Abstract:
1. A computer program product comprising a non-transitory computer readable storage medium having a computer readable program stored therein, wherein the computer readable program, when executed on a data processing system, causes the data processing system to: generate, in a user space of the data processing system, a user space context comprising a user space RDMA resource hierarchical data structure; generate, in a kernel space of the data processing system, a kernel context comprising a kernel RDMA resource hierarchical data structure, wherein the kernel RDMA resource hierarchical data structure comprises nodes of the user space RDMA resource hierarchical data structure; receive a request to close a RDMA resource; traverse the user space RDMA resource hierarchical data structure to determine whether the RDMA resource has child RDMA resources allocated in the user space RDMA resource hierarchical data structure; detect a resource leak 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; and report the resource leak.