Multi-processor resource locking mechanism with a lock register corresponding to each resource stored in common memory
AssigneeDigital Equipment Corporation
InventorBruce D. Buch
Life of this patent
Estimating the term…
Loading patent…
AssigneeDigital Equipment Corporation
InventorBruce D. Buch
Estimating the term…
A method and apparatus to reduce bus usage and to increase resource locking protocol compatibility within a heterogeneous processing environment. Lock indicators are maintained in stores designated as lock registers and access to a resource is gained by any processor depending upon the status of a lock register associated with that resource. Access to a locked resource is barred to all but the locking processor, and only the processor which has set a lock can use or release that locked resource. A lock register controller controls the contents of the lock registers. A given processor P1-PN is identified by a unique ID vector G1-GN. These vectors are used to indicate both that a resource is locked and to indicate the identity of the locking processor. An unlocked resource is identified by a status vector (G.O slashed.). In a preferred embodiment, acquisition of exclusive access to an available resource is obtained with a simple read command; release of exclusive access is achieved with a simple write executed by the processor which has set the lock. By convention, processors will not access a resource requiring exclusive access until an inquiry of the associated lock register returns the G.O slashed. vector to the inquiring processor.
In a computer system operable with two processors couplable via a communication bus to a plurality of lock registers, the processors and registers couplable via the bus to a resource, such resource comprising a plurality of stored records each one of which can be indicated as locked for exclusive use, and the lock register addressable by an address unique to the lock register on the bus, a method for indicating locked status of each one of the plurality of stored records, the method comprising the steps of:
A resource locking method for use in a data processing system operable with a plurality of processors, a resource which can be used by the processors but requires exclusive use, and a lock register, the processors, resource and register coupled via a communication bus, the lock register being addressable by an address unique to the lock register on the bus, the bus being utilizable in a sequence of bus use intervals, one bus use interval being defined as having a duration beginning from when a given one of the processors accessing the bus issues a read command so as to obtain the contents of the lock register and terminating when that processor receives the contents of the lock register, the method comprising the steps of
A computer system having a resource locking capability, comprising
A data processing system having resource locking capability, the system comprising a plurality of processors,
A computer system having a resource locking capability, comprising
Dependencies are inferred from the claim text.