Patent ID: 8285915

Claim:
A method of relocating page tables amongst memory modules in a virtualized environment, the page tables comprising a Cache Page Table (‘CPT’) and a Physical Page Table (‘PPT’), the CPT comprising virtual to logical address mappings, the CPT accessible by an operating system executing in a partition of the virtualized environment maintained by a hypervisor, the PPT comprising virtual to physical address mappings, the PPT accessible by a computer processor, the method comprising: relocating the CPT in portions from a source memory location to a target memory location, each portion of the CPT including one or more CPT entries, wherein relocating the CPT in portions includes: initializing an index value representing a next CPT entry to be relocated; and for each portion: suspending the partition, relocating the portion to the target memory location, setting the index value to represent the next CPT entry of the portion to be relocated, and resuming operation of the partition; and relocating all valid entries of the PPT to a target PPT memory location including: initializing the target PPT memory location with invalid entries; changing a page table pointer of the computer processor from the PPT to the target PPT memory location; and individually, for each valid entry of the PPT: setting a lock blocking access to the entry, relocating the entry to the target PPT memory location, invalidating the entry in the PPT, and releasing the lock.