Invention Grant
US08990819B2 Efficient rollback and retry of conflicted speculative threads using distributed tokens 有权
使用分布式令牌高效回滚并重试冲突的投机线索

Efficient rollback and retry of conflicted speculative threads using distributed tokens
Abstract:
A method for rolling back speculative threads in symmetric-multiprocessing (SMP) environments is disclosed. In one embodiment, such a method includes detecting an aborted thread at runtime and determining whether the aborted thread is an oldest aborted thread. In the event the aborted thread is the oldest aborted thread, the method sets a high-priority request for allocation to an absolute thread number associated with the oldest aborted thread. The method further detects that the high-priority request is set and, in response, modifies a local allocation token of the oldest aborted thread. The modification prompts the oldest aborted thread to retry a work unit associated with its absolute thread number. The oldest aborted thread subsequently initiates the retry of a successor thread by updating the successor thread's local allocation token. A corresponding apparatus and computer program product are also disclosed.
Information query
Patent Agency Ranking
0/0