专利名称:MEMORY MANAGEMENT METHOD AND
DEVICE
发明人:LIU, Yao,HUANG, Yongbing,CHEN,
Mingyu,CUI, Zehan,CHEN, Licheng,RUAN,Yuan
申请号:EP15789083.1申请日:20150415公开号:EP3121731A4公开日:20170426
摘要:Embodiments of the present invention provide a memory management methodand a device, where the method includes: receiving, by a memory manager, a memoryaccess request, where the memory access request carries a virtual address; determining apage fault type of the virtual address if the memory manager finds, in a translationlookaside buffer TLB and a memory, no page table entry corresponding to the virtualaddress; allocating, by the memory manager, a corresponding page to the virtual addressif the page fault type of the virtual address is a blank-page-caused page fault, where theblank-page-caused page fault means that no corresponding page is allocated to thevirtual address; and updating, by the memory manager, the page table entry
corresponding to the virtual address to the memory and the TLB. By determining thepage fault type of the virtual address, the memory manager does not generate a pagefault when a blank-page-caused page fault occurs, but allocates a corresponding page tothe virtual address. Therefore, the method in the embodiments can reduce a quantity ofoccurrences of the page fault, thereby improving memory management efficiency.
申请人:Huawei Technologies Co. Ltd.
地址:Huawei Administration Building Bantian Longgang District Shenzhen,Guangdong 518129 CN
国籍:CN
代理机构:Kreuz, Georg Maria
更多信息请下载全文后查看
因篇幅问题不能全部显示,请点此查看更多更全内容