Memory exchange method and device, computer device and storage medium
By updating page table information and adding metadata update tasks to the task queue when memory swapping is interrupted, the problem of long-term blocking in traditional memory swapping schemes is solved, improving interrupt recovery speed and memory swapping efficiency.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- ALIBABA (CHINA) CO LTD
- Filing Date
- 2022-10-11
- Publication Date
- 2026-07-10
AI Technical Summary
In traditional memory swapping schemes, page table information and metadata need to be updated when an interrupt occurs, making it difficult for the operating system to quickly resume the interrupted task and potentially causing a prolonged blockage.
Upon receiving the swap completion message from the target memory, the operating system interrupts the current task, updates the page table information of the memory block, and adds it to the memory swap task queue. This reduces the execution of metadata update tasks, avoids holding locks, and lowers the probability of prolonged blocking.
It improves interrupt recovery speed, reduces the impact on the operating system, and increases the efficiency of memory swapping.
Smart Images

Figure CN115617542B_ABST