发明名称 |
USING NONSPECULATIVE OPERATIONS FOR LOCK ELISION |
摘要 |
A method includes identifying a set of instructions to be executed as a transaction that is to access a section of memory, prior to executing the set of instructions as the transaction, facilitating a non-speculative access to a data cache, the data cache comprising a plurality of cache lines, each cache line comprising a lock to lock a respective portion of the memory, determining if the section of memory is available for the transaction in view of locks of the plurality of cache lines, and in response to a determination that the section of memory is not available, causing the non-speculative access to the data cache to be repeated. |
申请公布号 |
US2015193265(A1) |
申请公布日期 |
2015.07.09 |
申请号 |
US201414148919 |
申请日期 |
2014.01.07 |
申请人 |
Red Hat, Inc. |
发明人 |
Riegel Torvald |
分类号 |
G06F9/46;G06F12/14;G06F12/08 |
主分类号 |
G06F9/46 |
代理机构 |
|
代理人 |
|
主权项 |
1. A method comprising:
identifying, by a scheduler of an operating system executing on a processing device, a set of instructions to be executed as a transaction that is to access a section of memory; prior to executing the set of instructions as the transaction, facilitating a non-speculative access to a data cache coupled to the processing core, the data cache comprising a plurality of cache lines, each cache line comprising a lock to lock a respective portion of the memory; determining if the section of memory is available for the transaction in view of locks of the plurality of cache lines; and in response to a determination that the section of memory is not available, causing the non-speculative access to the data cache to be repeated. |
地址 |
Raleigh NC US |