Reverse restartable sequences for lock polling scalability
AssigneeRed Hat, Inc.
InventorMichael Tsirkin
Life of this patent
Estimating the term…
Loading patent…
AssigneeRed Hat, Inc.
InventorMichael Tsirkin
Estimating the term…
An example system includes a memory, at least one processor in communication with the memory, a plurality of threads executing on the at least one processor, and a supervisor. The supervisor is configured to preempt a first thread of the plurality of threads and determine a status of the first thread as either (i) executing in an atomic section or (ii) executing outside of the atomic section. The atomic section is a region of code tagged as atomic, and the atomic section includes instructions that run under a lock. Responsive to determining the status as executing in the atomic section, the supervisor is configured to notify a second thread of the plurality of threads to execute a system call based lock to block execution until the lock is released by the first thread.
A method comprising:
A system comprising:
A non-transitory computer readable medium storing instructions, which when executed by a processor, cause the processor to:
Dependencies are inferred from the claim text.