摘要 |
Systems and methods are described for distributed shared memory management. A method includes receiving a request from a requesting software to allocate a segment of memory; scanning a data structure for a smallest suitable class size, the data structure including a list of memory address size classes, each memory address size class having a plurality of memory addresses; determining whether the smallest suitable size class is found; if the smallest suitable size class is found, determining whether memory of the smallest suitable size class is available in the data structure; if the smallest suitable size class is found, and if memory of the smallest suitable size class is available, selecting a memory address from among those memory addresses belonging to the smallest suitable size class; and if the smallest suitable size class is found, and if memory of the smallest suitable size class is available in the data structure returning the memory address to the requesting software. An apparatus includes a processor; a private memory coupled to the processor; and a data structure stored in the private memory, the data structure including a list of memory address size classes wherein each memory address size class includes a plurality of memory addresses.
|