发明授权
- 专利标题: Leveraging transactional memory hardware to accelerate virtualization and emulation
- 专利标题(中): 利用事务性内存硬件来加速虚拟化和仿真
-
申请号: US11823236申请日: 2007-06-27
-
公开(公告)号: US08176253B2公开(公告)日: 2012-05-08
- 发明人: Martin Taillefer , Darek Mihocka , Bruno Silva
- 申请人: Martin Taillefer , Darek Mihocka , Bruno Silva
- 申请人地址: US WA Redmond
- 专利权人: Microsoft Corporation
- 当前专利权人: Microsoft Corporation
- 当前专利权人地址: US WA Redmond
- 主分类号: G06F12/00
- IPC分类号: G06F12/00 ; G06F9/455 ; G06F9/44
摘要:
Various technologies and techniques are disclosed for using transactional memory hardware to accelerate virtualization or emulation. A central processing unit is provided with the transactional memory hardware. Code backpatching can be facilitated by providing transactional memory hardware that supports a facility to maintain private memory state and an atomic commit feature. Changes made to certain code are stored in the private state facility. Backpatching changes are enacted by attempting to commit all the changes to memory at once using the atomic commit feature. An efficient call return stack can be provided by using transactional memory hardware. A call return cache stored in the private state facility captures a host address to return to after execution of a guest function completes. A direct-lookup hardware-based hash table is used for the call return cache.