Invention Grant
- Patent Title: Memory swap for direct memory access by a device assigned to a guest operating system
-
Application No.: US14724318Application Date: 2015-05-28
-
Publication No.: US09720846B2Publication Date: 2017-08-01
- Inventor: Michael Tsirkin , Andrea Arcangeli
- Applicant: Red Hat Israel, Ltd.
- Applicant Address: IL Raanana
- Assignee: Red Hat Israel, Ltd.
- Current Assignee: Red Hat Israel, Ltd.
- Current Assignee Address: IL Raanana
- Agency: Lowenstein Sandler LLP
- Main IPC: G06F12/00
- IPC: G06F12/00 ; G06F12/1081 ; G06F3/06 ; G06F9/455 ; G06F12/06 ; G06F13/28

Abstract:
A hypervisor detects a page fault associated with the request for a device assigned to a guest operating system to perform direct memory access (DMA) of a requested page of memory, invalidates a mapping in a central processing unit (CPU) page table of a guest physical address to a host physical address for a candidate page for being swapped out of host memory, checks a DMA access state of the candidate page to determine whether or not the candidate page can be swapped out from the host memory, and removes the candidate page from the host memory in response to determining that the DMA access state indicates that the candidate page can be swapped out.
Public/Granted literature
- US20160350236A1 MEMORY SWAP FOR DIRECT MEMORY ACCESS BY A DEVICE ASSIGNED TO A GUEST OPERATING SYSTEM Public/Granted day:2016-12-01
Information query