发明授权
US07197585B2 Method and apparatus for managing the execution of a broadcast instruction on a guest processor
失效
用于管理客机处理器上的广播指令的执行的方法和装置
- 专利标题: Method and apparatus for managing the execution of a broadcast instruction on a guest processor
- 专利标题(中): 用于管理客机处理器上的广播指令的执行的方法和装置
-
申请号: US10262311申请日: 2002-09-30
-
公开(公告)号: US07197585B2公开(公告)日: 2007-03-27
- 发明人: Mark S. Farrell , Charles W. Gainey , Jeffrey P. Kubala , Damian L. Osisek
- 申请人: Mark S. Farrell , Charles W. Gainey , Jeffrey P. Kubala , Damian L. Osisek
- 申请人地址: US NY Armonk
- 专利权人: International Business Machines Corporation
- 当前专利权人: International Business Machines Corporation
- 当前专利权人地址: US NY Armonk
- 代理商 William A. Kinnaman, Jr.
- 主分类号: G06F12/00
- IPC分类号: G06F12/00
摘要:
A method and apparatus for managing the execution on guest processors of a broadcast instruction requiring a corresponding operation on other processors of a guest machine. Each of a plurality of processors on an information handling system is operable either as a host processor under the control of a host program executing on a host machine or as a guest processor under the control of a guest program executing on a guest machine. The guest machine is defined by the host program executing on the host machine and contains a plurality of such guest processors forming a guest multiprocessing configuration. A lock is defined for the guest machine containing an indication of whether it is being held by a host lock holder from the host program and a count of the number of processors holding the lock as guest lock holders. Upon decoding a broadcast instruction executing on a processor operating as a guest processor, the lock is tested to determine whether it is being held by a host lock holder. If the lock is being held by a host lock holder, an instruction interception is recognized and execution of the instruction is terminated. If the lock is not being held by a host lock holder, the lock is updated to indicate that it is being held by the guest processor as a shared lock holder, the instruction is executed, and then the lock is updated a second time to indicate that it is no longer being held by the guest processor as a shared lock holder.
公开/授权文献
信息查询