US 12,293,092 B2
Method and apparatus for managing memory
Lu Lu, Beijing (CN); Anthony Asaro, Markham (CA); and Yinan Jiang, Markham (CA)
Assigned to Advanced Micro Devices, Inc., Santa Clara, CA (US); and ATI Technologies ULC, Markham (CA)
Filed by Advanced Micro Devices, Inc., Santa Clara, CA (US); and ATI Technologies ULC, Markham (CA)
Filed on Dec. 16, 2022, as Appl. No. 18/083,306.
Prior Publication US 2024/0201876 A1, Jun. 20, 2024
Int. Cl. G06F 3/06 (2006.01)
CPC G06F 3/0625 (2013.01) [G06F 3/0644 (2013.01); G06F 3/0673 (2013.01)] 20 Claims
OG exemplary drawing
 
1. A method for managing memory, the method comprising:
in response to a first memory page including data shared between a first virtual machine and a second virtual machine, storing the first memory page at a shared memory location, by storing the first memory page at a first system physical memory address designated as common memory that is shared by the first virtual machine and the second virtual machine, wherein the first system physical memory address is associated with the shared memory location;
in response to a second memory page including data unique to the first virtual machine, storing the second memory page at a memory location unique to the first virtual machine;
accessing the first memory page by the first virtual machine and the second virtual machine; and
accessing the second memory page by the first virtual machine and not the second virtual machine.