Invention Grant
- Patent Title: Memory management method and apparatus
-
Application No.: US16368511Application Date: 2019-03-28
-
Publication No.: US10990540B2Publication Date: 2021-04-27
- Inventor: Qiulin Chen , Wanglai Yao , Yunjian Ying
- Applicant: Huawei Technologies Co., Ltd.
- Applicant Address: CN Shenzhen
- Assignee: Huawei Technologies Co., Ltd.
- Current Assignee: Huawei Technologies Co., Ltd.
- Current Assignee Address: CN Shenzhen
- Agency: Conley Rose, P.C.
- Priority: CN201610860581.5 20160928
- Main IPC: G06F12/00
- IPC: G06F12/00 ; G06F12/123 ; G06F12/0882 ; G06F12/02 ; G06F12/08

Abstract:
A memory management method and apparatus to resolve a 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, for each memory page that needs to be swapped out, generating, based on the memory page, a work task reclaiming the memory page, and allocating each work task to a dedicated worker thread for execution. In this way, a plurality of central processing units (CPUs) process memory reclaiming in parallel, thereby accelerating memory reclaiming, and improving user experience.
Public/Granted literature
- US20190220418A1 Memory Management Method and Apparatus Public/Granted day:2019-07-18
Information query