摘要 |
The lock control stores the state of a lock variable for each processor in the computer system and for each memory bank of the system. The state of the variable is controlled so that if the state of the lock variable in one bank shows a lock acquisition state, the lock variable of all the other banks is set to the acquisition state. The lock variable has a first state that indicates when a cache has acquired the lock and other caches have not, and a second state to indicate that the cache memory associated with the lock controller has not acquired the lock, and that it is not certain that other caches have acquired the lock. A third state indicates no cache has acquired the lock, and a fourth state indicates that another cache has acquired the lock.
|