Invention Grant
- Patent Title: Efficient lock hand-off in a symmetric multiprocessing system
- Patent Title (中): 在对称多处理系统中高效锁定切换
-
Application No.: US13426293Application Date: 2012-03-21
-
Publication No.: US08930952B2Publication Date: 2015-01-06
- Inventor: Dirk Michel , Bret R. Olszewski , Basu Vaidyanathan
- Applicant: Dirk Michel , Bret R. Olszewski , Basu Vaidyanathan
- Applicant Address: US NY Armonk
- Assignee: International Business Machines Corporation
- Current Assignee: International Business Machines Corporation
- Current Assignee Address: US NY Armonk
- Agency: Greg Goshorn, P.C.
- Agent Thomas E. Tyson; Gregory K. Goshorn
- Main IPC: G06F9/46
- IPC: G06F9/46

Abstract:
Provided are techniques for providing a first lock, corresponding to a resource, in a memory that is global to a plurality of processor; spinning, by a first thread running on a first processor of the processors, at a low hardware-thread priority on the first lock such that the first processor does not yield processor cycles to a hypervisor; spinning, by a second thread running on a second processor, on a second lock in a memory local to the second processor such that the second processor is configured to yield processor cycles to the hypervisor; acquiring the lock and the corresponding resource by the first thread; and, in response to the acquiring of the lock by the first thread, spinning, by the second thread, at the low hardware-thread priority on the first lock rather than the second lock such that the second processor does not yield processor cycles to the hypervisor.
Public/Granted literature
- US20130254775A1 EFFICIENT LOCK HAND-OFF IN A SYMMETRIC MULTIPROCESSING SYSTEM Public/Granted day:2013-09-26
Information query