发明授权
- 专利标题: Composite lock for computer systems with multiple domains
- 专利标题(中): 具有多个域的计算机系统的复合锁
-
申请号: US10289728申请日: 2002-11-06
-
公开(公告)号: US07117481B1公开(公告)日: 2006-10-03
- 发明人: Ole Agesen , Keith M. Adams
- 申请人: Ole Agesen , Keith M. Adams
- 申请人地址: US CA Palo Alto
- 专利权人: VMWare, Inc.
- 当前专利权人: VMWare, Inc.
- 当前专利权人地址: US CA Palo Alto
- 代理商 Jeffrey Pearce
- 主分类号: G06F9/45
- IPC分类号: G06F9/45
摘要:
In a multi-domain computer system in which several processes are running, a composite lock provides mutually exclusive access to a resource. The composite lock has a back-end component and a front-end component. The back-end component is platform-dependent and operates as a semaphore, with Wait and Signal functions. The front-end component conditionally calls the Wait and Signal functions depending on whether the lock is currently contested when a new process wishes to acquire the lock, and on whether any process is currently suspended, waiting to acquire the lock. The front-end and back-end components may execute in different domains. In the uncontested case, the invention avoids costly domain crossings. The front-end component may also include a spinning feature to further reduce the need to invoke the back-end component and cause a domain crossing. The composite lock is particularly advantageous in computer systems that include a virtual machine.
信息查询