发明申请
US20070186215A1 Concurrent Execution of Critical Sections by Eliding Ownership of Locks 有权
通过确定锁定所有权并行执行关键部分

  • 专利标题: Concurrent Execution of Critical Sections by Eliding Ownership of Locks
  • 专利标题(中): 通过确定锁定所有权并行执行关键部分
  • 申请号: US11539731
    申请日: 2006-10-09
  • 公开(公告)号: US20070186215A1
    公开(公告)日: 2007-08-09
  • 发明人: Ravi RajwarJames Goodman
  • 申请人: Ravi RajwarJames Goodman
  • 主分类号: G06F9/46
  • IPC分类号: G06F9/46
Concurrent Execution of Critical Sections by Eliding Ownership of Locks
摘要:
One embodiment of the present invention provides a system that facilitates avoiding locks by speculatively executing critical sections of code. During operation, the system allows a process to speculatively execute a critical section of code within a program without first acquiring a lock associated with the critical section. If the process subsequently completes the critical section without encountering an interfering data access from another process, the system commits changes made during the speculative execution, and resumes normal non-speculative execution of the program past the critical section. Otherwise, if an interfering data access from another process is encountered during execution of the critical section, the system discards changes made during the speculative execution, and attempts to re-execute the critical section.
信息查询
0/0