Invention Grant
US08930952B2 Efficient lock hand-off in a symmetric multiprocessing system 有权
在对称多处理系统中高效锁定切换

Efficient lock hand-off in a symmetric multiprocessing system
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
Information query
Patent Agency Ranking
0/0