- 专利标题: MEMORY MANAGEMENT METHOD AND APPARATUS
-
申请号: EP17854533.1申请日: 2017-07-13
-
公开(公告)号: EP3514689A1公开(公告)日: 2019-07-24
- 发明人: CHEN, Qiulin , YAO, Wanglai , YING, Yunjian
- 申请人: Huawei Technologies Co., Ltd.
- 申请人地址: Huawei Administration Building Bantian Longgang District Shenzhen, Guangdong 518129 CN
- 专利权人: Huawei Technologies Co., Ltd.
- 当前专利权人: Huawei Technologies Co., Ltd.
- 当前专利权人地址: Huawei Administration Building Bantian Longgang District Shenzhen, Guangdong 518129 CN
- 代理机构: Kreuz, Georg Maria
- 优先权: CN201610860581 20160928
- 国际公布: WO2018059079 20180405
- 主分类号: G06F12/08
- IPC分类号: G06F12/08
摘要:
A memory management method and apparatus are disclosed, to resolve an existing problem that a memory reclaiming rate is relatively low, severely affecting memory allocation performance in a scenario in which system memory is insufficient. The method includes: determining a memory page that needs to be swapped out of a memory (S21); for each memory page that needs to be swapped out, generating, based on the memory page, a work task used to reclaim the memory page (S22); and determining a dedicated worker thread in an idle state, and allocating each work task to the dedicated worker thread in an idle state for execution (S23). In this way, a plurality of CPUs process memory reclaiming in parallel, thereby accelerating memory reclaiming, and improving user experience.
公开/授权文献
- EP3514689B1 MEMORY MANAGEMENT METHOD AND APPARATUS 公开/授权日:2024-04-17
信息查询