Method for associating windows to regions for infiniband
First Claim
1. A method for associating memory windows with memory regions in a data storage system, the method comprising:
- registering a memory region, wherein the memory region is a set of virtually contiguous memory addresses defined by a virtual address and length;
establishing a window reference count for the memory region, wherein the value of the window reference count corresponds to a plurality of memory windows bound to the memory region;
binding a first memory window to the memory region and incrementing the value of the window reference count; and
binding a second memory window to the memory region and incrementing the value of the window reference count.
1 Assignment
0 Petitions
Accused Products
Abstract
A method, program and system for associating memory windows with memory regions in an infiniband data storage system are provided. The invention comprises registering a Memory Region, wherein the Memory Region is a set of virtually contiguous memory addresses defined by a virtual address and length. The system then establishes and maintains a Window Reference Count (WRC) for the Memory Region, which tracks the number of Memory Windows which are bound to the Memory Region. When the system binds a Memory Window to the Memory Region, the value of the WRC is incremented. When a Memory Window is unbound from the Memory Region, the value of the WRC is decremented. If no Memory Windows are bound to the Memory Region, the value of the WRC is zero. The Memory Region is not deregistered unless the value of the WRC equals zero.
-
Citations
15 Claims
-
1. A method for associating memory windows with memory regions in a data storage system, the method comprising:
-
registering a memory region, wherein the memory region is a set of virtually contiguous memory addresses defined by a virtual address and length;
establishing a window reference count for the memory region, wherein the value of the window reference count corresponds to a plurality of memory windows bound to the memory region;
binding a first memory window to the memory region and incrementing the value of the window reference count; and
binding a second memory window to the memory region and incrementing the value of the window reference count. - View Dependent Claims (2, 3, 4, 5)
-
-
6. A computer program product in a computer readable medium for use in a data processing system, for associating memory windows with memory regions in a data storage system, the computer program product comprising:
-
instructions for registering a memory region, wherein the memory region is a set of virtually contiguous memory addresses defined by a virtual address and length;
instructions for establishing a window reference count for the memory region, wherein the value of the window reference count corresponds to a plurality of memory windows bound to the memory region;
instructions for binding a first memory window to the memory region and incrementing the value of the window reference count; and
instructions for binding a second memory window to the memory region and incrementing the value of the window reference count. - View Dependent Claims (7, 8, 9, 10)
-
-
11. An apparatus for associating memory windows with memory regions in a data storage system, the apparatus comprising:
-
a first register which registers a memory region, wherein the memory region is a set of virtually contiguous memory addresses defined by a virtual address and length;
a second register which maintains a window reference count for the memory region, wherein the value of the window reference count corresponds to a plurality of memory windows bound to the memory region;
a first binding component which binds a first memory window to the memory region and increments the value of the window reference count; and
a second binding component which binds a second memory window to the memory region and increments the value of the window reference count. - View Dependent Claims (12, 13, 14, 15)
-
Specification