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.

CN116302550BActive Publication Date: 2026-07-24ALIBABA CLOUD COMPUTING CO LTD
1 Cites 0 Cited by

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

Technical Problem

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.

Method used

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.

Benefits of technology

By splitting memory pages, process execution can be quickly resumed, data volume can be reduced, and page fault handling speed can be improved.

✦ Generated by Eureka AI based on patent content.
Patent Text Reader

Abstract

The disclosure provides a memory exchange method and device, computer equipment and a storage medium. The method comprises: in response to an out request of a memory block, splitting the memory block into a plurality of memory pages, establishing a page table entry corresponding to each memory page, performing a data out operation on the memory page, and recording a data out position in the page table entry corresponding to the memory page; in response to a page fault request initiated by a process, determining a target memory page corresponding to a virtual address carried in the page fault request, and exchanging data into a memory space of the process according to the data out position recorded in a target page table entry corresponding to the target memory page, so as to be accessed by the process.
Need to check novelty before this filing date? Find Prior Art