Memory page tables sharing method and apparatus
AssigneeHuawei Technologies Co., Ltd.
InventorRujie Chen
Life of this patent
Estimating the term…
Loading patent…
AssigneeHuawei Technologies Co., Ltd.
InventorRujie Chen
Estimating the term…
Embodiments of this application disclose a memory sharing method and an apparatus. The method in embodiments of this application includes: A host side establishes a first memory page table via a shared virtual address management unit. The first memory page table includes mapping from a virtual address on the host side to a physical address on the host side. A first device side establishes a second memory page table via a shared virtual address agent unit. The second memory page table includes mapping from a virtual address on the first device side to a physical address on the first device side. An agent system memory management unit SMMU on the first device side updates the second memory page table based on the first memory page table, or the host side updates the first memory page table based on the second memory page table.
A memory sharing method, used in a heterogeneous system, wherein the heterogeneous system comprises a host side and a first device side, and the method comprises:
A memory sharing method, used in a heterogeneous system, wherein the heterogeneous system comprises a host side and a first device side, and the method comprises:
An electronic device, comprising a processor, wherein the processor is coupled to a storage, the processor is configured to store instructions, and when the instructions are executed by the processor, the electronic device is enabled to:
Dependencies are inferred from the claim text.