Memory exchange method and device, computer device and storage medium
By splitting memory blocks into multiple memory pages and creating page table entries, the problem of slow page fault handling under large management granularity is solved, enabling fast data swapping and process recovery.
Patent Information
- Application Number
- CN202310302289.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-03-20
- Publication Date
- 2026-07-24
- Estimated Expiration
- 2043-03-20
AI Technical Summary
In scenarios with large management granularity, the large size of memory blocks leads to a long time spent in page fault handling. How to improve the speed of page fault handling is an urgent technical problem to be solved.
The memory block is split into multiple memory pages, and page table entries are created for each memory page. Data swapping is performed quickly by using the data swapping location recorded in the page table entry of the target memory page, reducing the management granularity to the size of the memory block. Data swapping into the target memory page is processed first.
By splitting memory pages, process execution can be quickly resumed, data volume can be reduced, and page fault handling speed can be improved.