-
公开(公告)号:US20170153839A1
公开(公告)日:2017-06-01
申请号:US15191758
申请日:2016-06-24
Applicant: MediaTek Inc.
Inventor: Chi-Jen Hung , Chung-Jung Lee , Nicholas Ching Hui Tang , Jia-Ming Chen
IPC: G06F3/06
CPC classification number: G06F3/0641 , G06F3/0608 , G06F3/0647 , G06F3/0683
Abstract: An efficient, on-demand, content-based memory sharing method is performed by a system. The method begins when an event is detected. The system predicts a merge gain based on a current number of candidate pages in the memory, a current number of merged pages, and a merge ratio which represents a merged-to-candidate page ratio. In response to a determination that the merge gain is greater than a threshold, the system performs a scan and merge operation to merge a set of the candidate pages, which have a same content and have not been merged, into a single page having the same content.