发明名称 Method and device for implementing memory migration
摘要 Disclosed are a method and device for implementing memory migration, which relate to computer technology and are invented for solving the problem that the existing operating process for memory migration is relatively complicated. The technical solution provided in the embodiments of the present application includes: the basic input-output system of a computer migrating the data in the memory to be migrated to a first unavailable memory in the operating system of the computer when migrating the memory to be migrated and the basic input-output system storing the mapping relationship between the memory to be migrated and the physical address of the first unavailable memory. The embodiments of the present application can be applied to ordinary computer systems and computer systems under the NUMA architecture.
申请公布号 US9600202(B2) 申请公布日期 2017.03.21
申请号 US201314035545 申请日期 2013.09.24
申请人 Huawei Technologies Co., Ltd. 发明人 Qiu Xishi;Wang Wei;Han Gaohuai
分类号 G06F12/00;G06F3/06;G06F9/48;G06F12/02;G06F11/14 主分类号 G06F12/00
代理机构 Leydig, Voit & Mayer, Ltd. 代理人 Leydig, Voit & Mayer, Ltd.
主权项 1. A method for implementing memory migration on a computer, comprising: migrating, by a basic input-output system (BIOS) of the computer, data in a memory to be migrated to a first unusable memory of an operating system of the computer; wherein the first unusable memory is converted in advance of implementing the memory migration from an original usable memory of the operating system, and wherein the first unusable memory is reserved for the operating system, and the first unusable memory is unmodifiable by and inaccessible to the operating system, but is operable by the BIOS; storing, by the BIOS, a mapping relation between a physical address of the memory to be migrated and a physical address of the first unusable memory; determining, when the operating system accesses a target physical address, whether a mapping relation corresponds to the target physical address stored by the BIOS; and accessing, when the mapping relation corresponds to the target physical address that is stored, data in the first unusable memory according to the mapping relation corresponding to the target physical address.
地址 Shenzhen CN