发明名称 Reverse copy on write for better cache utilization
摘要 Methods, systems, and computer program products for providing reverse copy-on-write for improved cache utilization are disclosed. Examples generally relate to both physical and virtualized computer systems. A computer-implemented method may include detecting when a first task is to write to a memory page that is shared with a second task, creating a copy of the memory page for use by the second task, and modifying a memory mapping to associate the second task with the copy of the memory page. In a virtualized computer system, a hypervisor may detect when a first virtual machine is to write to a memory page shared with a second virtual machine, create a copy of the memory page for the second virtual machine, and adjust a memory mapping to associate the second virtual machine with the copy of the memory page.
申请公布号 US9471226(B2) 申请公布日期 2016.10.18
申请号 US201414193620 申请日期 2014.02.28
申请人 Red Hat Israel, Ltd. 发明人 Tsirkin Michael S.
分类号 G06F3/06;G06F12/10 主分类号 G06F3/06
代理机构 Haynes & Boone, LLP 代理人 Haynes & Boone, LLP
主权项 1. A computer-implemented method, comprising: detecting, by a processor, when a first task is to write to a memory page shared with a second task; determining, by the processor, whether a number of other tasks sharing the memory page with the first task is within a threshold; creating, by the processor, a copy of the memory page for the second task; and modifying, by the processor, a memory mapping to associate the second task with the copy of the memory page.
地址 Ra'anana IL