Memory management method and apparatus
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
Information query
Patent Agency Ranking
0/0