发明名称 ZERO COPY MEMORY RECLAIM FOR APPLICATIONS USING MEMORY OFFLINING
摘要 An application sends a first request to an operating system to provide a hardware device with direct memory access to contents of a virtual memory location in an application memory of the application, wherein the virtual memory location is mapped to a physical memory location. In response to determining that the virtual memory location is to be reclaimed, the application sends a second request to the operating system to unmap the physical memory location from the virtual memory location. The second request causes the virtual memory location to be mapped to a new physical memory location. Responsive to receiving an indication from the operating system that the request to unmap the physical memory location has completed, the application then accesses the new physical memory location mapped to the virtual memory location.
申请公布号 US2016350233(A1) 申请公布日期 2016.12.01
申请号 US201514723265 申请日期 2015.05.27
申请人 Red Hat Israel, Ltd. 发明人 Tsirkin Michael
分类号 G06F12/10 主分类号 G06F12/10
代理机构 代理人
主权项 1. A method comprising: sending, by an application executed by a processing device, a first request to an operating system to provide a hardware device with direct memory access to contents of a virtual memory location in an application memory of the application, wherein the virtual memory location is mapped to a physical memory location; determining, by the application, whether the virtual memory location is to be reclaimed by the application; in response to determining that the virtual memory location is to be reclaimed, sending, by the application, a second request to the operating system to unmap the physical memory location from the virtual memory location, the second request causing the virtual memory location to be mapped to a new physical memory location; and responsive to receiving an indication from the operating system that the request to unmap the physical memory location has completed, accessing the new physical memory location mapped to the virtual memory location.
地址 Raanana IL