-
公开(公告)号:US09977598B2
公开(公告)日:2018-05-22
申请号:US14791703
申请日:2015-07-06
Applicant: MediaTek Inc.
Inventor: Chung-Jung Lee , Nicholas Ching Hui Tang , Chin-Wen Chang , Min-Hua Chen , Chih-Hsuan Tseng
CPC classification number: G06F3/0608 , G06F3/0638 , G06F3/0647 , G06F3/0658 , G06F3/0673 , G06F12/023 , G06F2212/401 , Y02D10/13
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.
-
公开(公告)号:US20160098203A1
公开(公告)日:2016-04-07
申请号:US14965799
申请日:2015-12-10
Applicant: MediaTek Inc.
Inventor: Chin-Wen Chang , Hung-Lin Chou , Nicholas Ching Hui Tang , Chih-Hsuan Tseng , Min-Hua Chen , Chung-Jung Lee
IPC: G06F3/06
CPC classification number: G06F12/08 , G06F2212/1016 , G06F2212/401
Abstract: Techniques and implementations pertaining to a heterogeneous swap space with dynamic thresholds are provided. A technique may provide a list of a plurality of swap areas in a heterogeneous swap space. The swap areas may include at least two swap areas that are different from each other in one or more characteristics. The technique may also compute a dynamic threshold associated with a page in need of swapping and determine a priority level of the page in need of swapping based on the dynamic threshold. The technique may further select one of the swap areas from the list of swap areas for the swapping of the page in response to a determination of the priority level of the page.
Abstract translation: 提供了具有动态阈值的异构交换空间的技术和实现。 技术可以提供异构交换空间中的多个交换区域的列表。 交换区域可以包括在一个或多个特征中彼此不同的至少两个交换区域。 该技术还可以计算与需要交换的页面相关联的动态阈值,并且基于动态阈值确定需要交换的页面的优先级。 该技术可以响应于页面的优先级的确定,从交换区域列表中进一步选择交换区域中的一个,以交换页面。
-