发明申请
US20050086446A1 Utilizing software locking approach to execute code upon failure of hardware transactional approach
审中-公开
利用软件锁定方法在硬件事务处理失败时执行代码
- 专利标题: Utilizing software locking approach to execute code upon failure of hardware transactional approach
- 专利标题(中): 利用软件锁定方法在硬件事务处理失败时执行代码
-
申请号: US10679076申请日: 2003-10-04
-
公开(公告)号: US20050086446A1公开(公告)日: 2005-04-21
- 发明人: Paul McKenney , Orran Krieger
- 申请人: Paul McKenney , Orran Krieger
- 主分类号: G06F12/00
- IPC分类号: G06F12/00
摘要:
Utilizing a software locking approach to execute a code section, upon failure of a hardware transactional approach, is disclosed. A method is disclosed that includes utilizing a hardware approach to transactional memory to execute a code section relating to memory. Where utilizing the hardware approach fails a threshold in executing the code section, the software approach is instead utilized to execute the code section relating to the memory. The threshold may include the hardware approach aborting execution of the code section a predetermined one or more times. The hardware approach includes starting a transaction inclusive of the code section, conditionally executing the transaction, and upon successfully completing the transaction, committing execution to memory. The software locking approach includes placing a lock on memory, executing the code section, committing execution of the code section to the memory as the code section is executed, and then removing the lock from the memory.
信息查询