-
公开(公告)号:US10545672B2
公开(公告)日:2020-01-28
申请号:US15788990
申请日:2017-10-20
Applicant: HUAWEI TECHNOLOGIES CO., LTD.
Inventor: Zehan Cui , Mingyu Chen , Yao Liu , Yuan Ruan
IPC: G06F3/06
Abstract: A method for accessing an extended memory, a device, and a system are disclosed. According to the method, after receiving a first memory access requests from a processor system in a computer, an extended memory controller sends a read request for obtaining to-be-accessed data to the extended memory and return, to the processor system, a first response message indicating the to-be-accessed data has not been obtained. The extended memory controller writes the to-be-accessed data into a data buffer after receiving the to-be-accessed data returned by the extended memory. After receiving, from the processor system, a second memory access request comprising a second access address, the extended memory controller returns, to the processor system, the to-be-accessed data in the data buffer in response to the second memory access request, wherein the second access address is different from the first access address and points to the physical address of the to-be-accessed data.
-
公开(公告)号:US20180039424A1
公开(公告)日:2018-02-08
申请号:US15788990
申请日:2017-10-20
Applicant: HUAWEI TECHNOLOGIES CO.,LTD.
Inventor: Zehan Cui , Mingyu Chen , Yao Liu , Yuan Ruan
IPC: G06F3/06
Abstract: A method for accessing an extended memory, a device, and a system are disclosed. According to the method, after receiving a first memory access requests from a processor system in a computer, an extended memory controller sends a read request for obtaining to-be-accessed data to the extended memory and return, to the processor system, a first response message indicating the to-be-accessed data has not been obtained. The extended memory controller writes the to-be-accessed data into a data buffer after receiving the to-be-accessed data returned by the extended memory. After receiving, from the processor system, a second memory access request comprising a second access address, the extended memory controller returns, to the processor system, the to-be-accessed data in the data buffer in response to the second memory access request, wherein the second access address is different from the first access address and points to the physical address of the to-be-accessed data.
-
公开(公告)号:US11237728B2
公开(公告)日:2022-02-01
申请号:US16744795
申请日:2020-01-16
Applicant: Huawei Technologies Co., Ltd.
Inventor: Zehan Cui , Mingyu Chen , Yao Liu , Yuan Ruan
Abstract: In a method for accessing an extended memory, after receiving a first memory access request from a processor system in a computer, an extended memory controller sends a read request for obtaining to-be-accessed data to the extended memory and return, to the processor system, a first response message indicating the to-be-accessed data has not been obtained. The extended memory controller writes the to-be-accessed data into a data buffer after receiving the to-be-accessed data returned by the extended memory. After receiving, from the processor system, a second memory access request comprising a second access address, the extended memory controller returns, to the processor system, the to-be-accessed data in the data buffer in response to the second memory access request, wherein the second access address is different from the first access address and points to the physical address of the to-be-accessed data.
-
公开(公告)号:US10552337B2
公开(公告)日:2020-02-04
申请号:US15343693
申请日:2016-11-04
Applicant: HUAWEI TECHNOLOGIES CO.,LTD.
Inventor: Yao Liu , Yongbing Huang , Mingyu Chen , Zehan Cui , Licheng Chen , Yuan Ruan
IPC: G06F12/1027 , G06F3/06 , G06F12/1009
Abstract: A memory management method and a device, where the method includes: receiving a memory access request, where the memory access request carries a virtual address; determining a page fault type of the virtual address if finding, in a translation lookaside buffer TLB and a memory, no page table entry corresponding to the virtual address; allocating a corresponding page to the virtual address if the page fault type of the virtual address is a blank-page-caused page fault, where the blank-page-caused page fault means that no corresponding page is allocated to the virtual address; and updating the page table entry corresponding to the virtual address to the memory and the TLB. The memory manager does not generate a page fault when a blank-page-caused page fault occurs, but allocates a corresponding page to the virtual address. Therefore, a quantity of occurrences of the page fault is reduced, thereby improving memory management efficiency.
-
公开(公告)号:US10108553B2
公开(公告)日:2018-10-23
申请号:US15415344
申请日:2017-01-25
Applicant: Huawei Technologies Co., Ltd.
Inventor: Yao Liu , Licheng Chen , Zehan Cui , Mingyu Chen
IPC: G06F12/1009 , G06F12/1027
Abstract: A memory management method and device are disclosed. The method includes: managing, by a storage management device, a memory; and when determining that a page table does not include a virtual address carried in a fetch request, managing, by the memory management device, the memory. When determining that the virtual address is valid, the memory management device applies for a blank page. The memory management device is located in a memory controller.
-
公开(公告)号:US20170132148A1
公开(公告)日:2017-05-11
申请号:US15415344
申请日:2017-01-25
Applicant: Huawei Technologies Co., Ltd.
Inventor: Yao Liu , Licheng Chen , Zehan Cui , Mingyu Chen
IPC: G06F12/1009 , G06F12/1027
CPC classification number: G06F12/1009 , G06F12/1027 , G06F2212/1016 , G06F2212/68 , G06F2212/681 , G06F2212/684
Abstract: A memory management method and device are disclosed. The method includes: managing, by a storage management device, a memory; and when determining that a page table does not include a virtual address carried in a fetch request, managing, by the memory management device, the memory. When determining that the virtual address is valid, the memory management device applies for a blank page. The memory management device is located in a memory controller.
-
公开(公告)号:US20200150872A1
公开(公告)日:2020-05-14
申请号:US16744795
申请日:2020-01-16
Applicant: Huawei Technologies Co., Ltd.
Inventor: Zehan Cui , Mingyu Chen , Yao Liu , Yuan Ruan
Abstract: In a method for accessing an extended memory, after receiving a first memory access request from a processor system in a computer, an extended memory controller sends a read request for obtaining to-be-accessed data to the extended memory and return, to the processor system, a first response message indicating the to-be-accessed data has not been obtained. The extended memory controller writes the to-be-accessed data into a data buffer after receiving the to-be-accessed data returned by the extended memory. After receiving, from the processor system, a second memory access request comprising a second access address, the extended memory controller returns, to the processor system, the to-be-accessed data in the data buffer in response to the second memory access request, wherein the second access address is different from the first access address and points to the physical address of the to-be-accessed data.
-
公开(公告)号:US20170075818A1
公开(公告)日:2017-03-16
申请号:US15343693
申请日:2016-11-04
Applicant: HUAWEI TECHNOLOGIES CO.,LTD.
Inventor: Yao Liu , Yongbing Huang , Mingyu Chen , Zehan Cui , Licheng Chen , Yuan Ruan
IPC: G06F12/1027 , G06F12/1009 , G06F3/06
CPC classification number: G06F12/1027 , G06F3/0608 , G06F3/0619 , G06F3/0647 , G06F3/0652 , G06F3/0664 , G06F3/0685 , G06F12/1009 , G06F2212/1024 , G06F2212/684
Abstract: A memory management method and a device, where the method includes: receiving a memory access request, where the memory access request carries a virtual address; determining a page fault type of the virtual address if finding, in a translation lookaside buffer TLB and a memory, no page table entry corresponding to the virtual address; allocating a corresponding page to the virtual address if the page fault type of the virtual address is a blank-page-caused page fault, where the blank-page-caused page fault means that no corresponding page is allocated to the virtual address; and updating the page table entry corresponding to the virtual address to the memory and the TLB. The memory manager does not generate a page fault when a blank-page-caused page fault occurs, but allocates a corresponding page to the virtual address. Therefore, a quantity of occurrences of the page fault is reduced, thereby improving memory management efficiency.
Abstract translation: 一种存储器管理方法和装置,其中所述方法包括:接收存储器访问请求,其中所述存储器访问请求携带虚拟地址; 如果在翻译后备缓冲器TLB和存储器中找到与虚拟地址相对应的页表条目,则确定虚拟地址的页面错误类型; 如果虚拟地址的页面错误类型是由空白页引起的页面错误,其中由空白页引起的页面错误意味着没有对应的页面被分配给虚拟地址,则将对应的页面分配给虚拟地址; 以及将与虚拟地址相对应的页表条目更新到存储器和TLB。 当出现空白页引起的页面错误时,内存管理器不会生成页面错误,但会将相应的页面分配给虚拟地址。 因此,页面错误的发生量减少,从而提高存储器管理效率。
-
-
-
-
-
-
-