In a multiprocessor computer having shared memory distributed among multiple nodes, a data structure stored in a computer readable medium for allocating physical memory to a process, the data structure allocating, in accordance with a first policy specified by the process, physical memory on a node for association with a first virtual address space portion for the process, the data structure further allocating, in accordance with a second policy specified by the process, physical memory on a node for association with a second portion of virtual address space;
- wherein allocating physical memory on a node for association with the first virtual address space portion for the process occurs in response to a subsequent reference to the first portion of virtual address space by the process and allocating physical memory on a node for association with the second portion of virtual address space occurs in response to subsequent reference to the second portion of virtual address space by the process.