ELECTRONIC DEVICE AND A METHOD FOR MANAGING MEMORY SPACE THEREOF
    1.
    发明申请
    ELECTRONIC DEVICE AND A METHOD FOR MANAGING MEMORY SPACE THEREOF 有权
    电子设备及其存储空间管理方法

    公开(公告)号:US20160117116A1

    公开(公告)日:2016-04-28

    申请号:US14791703

    申请日:2015-07-06

    Applicant: MediaTek Inc.

    Abstract: The present invention provides a method for managing memory space in an electronic device including: selecting a candidate page from a first memory space for swapping the candidate page out of the first memory space into the second memory space; compressing the candidate page to obtain a first compressed page and a first hash value of the first compressed page; performing a comparison using the first hash value of the first compressed page and the hash values of the pages stored in a second memory space to find whether the pages have the same content as the first compressed page or the candidate page; and if a page is found to have the same content as the first compressed page or the candidate page, mapping a virtual address of the first compressed page or the candidate page to the found page.

    Abstract translation: 本发明提供一种用于管理电子设备中的存储器空间的方法,包括:从第一存储器空间中选择候选页面,用于将候选页面从第一存储器空间交换到第二存储器空间中; 压缩候选页面以获得第一压缩页面的第一压缩页面和第一哈希值; 使用第一压缩页面的第一散列值和存储在第二存储器空间中的页面的散列值来执行比较,以查找页面是否与第一压缩页面或候选页面具有相同的内容; 并且如果发现页面具有与第一压缩页面或候选页面相同的内容,则将第一压缩页面或候选页面的虚拟地址映射到找到的页面。

Patent Agency Ranking