Patent · US Active

Polling using reservation mechanism

US8539485B2 · kind B2 · utility

6Cited by
9References
17Claims
0Family size

Assignee

Inventors

Key dates

Filing dateNov 20, 2007
Grant dateSep 17, 2013
Priority date
Expiry dateJul 15, 2031

Classification

  • Technology area (CPC G)Physics
  • CPC primaryG06F9/3851
  • WIPO fieldComputer technology
  • WIPO sectorElectrical engineering

Abstract

A first thread enters a polling loop to wait for a signal from a second thread before processing instructions dependent on the polling loop. When entering the polling loop, the first thread sets a reservation for a predetermined memory address. The first thread then executes a reservation-based instruction that can change the execution state of the first thread. Reservation circuitry of the processing device that was executing the first thread monitors the reservation. In the event that the reservation cleared, such as by the second thread modifying data at the predetermined memory address, the first thread is reinstated to its prior execution state. By using a hardware reservation mechanism to monitor for clearing of a set reservation, repeated memory accesses to the memory address by the first thread can be minimized or avoided while in the polling loop and other threads can be allowed to execute at the processing device with reduced interference from the waiting thread.

Source: USPTO / EPO open patent data. Objective bibliographic and citation counts.