发明名称 Efficient rollback and retry of conflicted speculative threads with hardware support
摘要 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, clears the high-priority request and sets an allocation token to the absolute thread number associated with the oldest aborted thread, thereby allowing the oldest aborted thread to retry a work unit associated with the absolute thread number. A corresponding apparatus and computer program product are also disclosed.
申请公布号 US9268574(B2) 申请公布日期 2016.02.23
申请号 US201313844402 申请日期 2013.03.15
申请人 International Business Machines Corporation 发明人 Mohammed Khaled A.;Ohmacht Martin;Silvera Raul E.;Wang Kai-Ting A.
分类号 G06F9/48;G06F9/38;G06F9/52 主分类号 G06F9/48
代理机构 Nelson and Nelson 代理人 Nelson and Nelson ;Nelson Daniel P.;Nelson Alexis V.
主权项 1. A method for efficiently rolling back and retrying conflicted speculative threads in symmetric-multiprocessing (SMP) environments, the method comprising: detecting an aborted thread at runtime; determining whether the aborted thread is an oldest aborted thread; in the event the aborted thread is the oldest aborted thread, setting a high-priority request for allocation to an absolute thread number assigned to the oldest aborted thread; detecting that the high-priority request is set; and in response to detecting that the high-priority request is set, clearing the high-priority request and setting an allocation token to the absolute thread number of the oldest aborted thread, thereby allowing the oldest aborted thread to retry a work unit associated with its absolute thread number.
地址 Armonk NY US