SIGNALING
During certain critical periods, the lockingmechanism alone is not
enough. In these situations one processormust signal the other to
request a specific action. As part of initialization, themain processor issues a SIGP to activate the attached processor. Some critical functions, such as machine check handling or extending free
storage, require that one processor be quiesced for atime and then
reactivated. This is done with theSIGNAL macro. LOCKING To provide system integrity, VM/370 attached processor support is
designed around one global system lock, aVMBLOK local lock, and several
system local locks for specifically identified queues or modules.
All of CP runs under the global system lock except for specifically
identified paths. If the lock cannot be obtained, the function will be
deferred by storing the necessary information in theVMBLOK appendage
and stacking thatVMBLOK for later processing. ihat processor will then
take a special unlocked path through the dispatcher to dispatch anew virtual machine.
In some situations, the processor cannot defer the requested function
and will spin on the lock until it becomes available.
To ensure system integrity along the special unlocked paths, various
local locks have been defined. These locks are tasically spin locks and
are held for short periods of time.
TheVMBLOK lock is obtained by the dispatcher before dispatching a
virtual machine in problemprogram state or before performing any system
service for that virtual machine. This lock will prevent a virtual
aachine from being serviced byCP while it is running in problem program
state.!gte: This lock is not a spin lock.
The free storage lock is a spin lock obtained by for all FREE and
FRET requests for free storage.
There are several other locks used byCP in situations where the
global system lock is not held. All of the locks used byCP are
described in detail in1Qgl£ 180 IBM VM/310 System Programmer's Guide
During certain critical periods, the locking
enough. In these situations one processor
request a specific action. As part of initialization, the
storage, require that one processor be quiesced for a
reactivated. This is done with the
designed around one global system lock, a
system local locks for specifically identified queues or modules.
All of CP runs under the global system lock except for specifically
identified paths. If the lock cannot be obtained, the function will be
deferred by storing the necessary information in the
and stacking that
take a special unlocked path through the dispatcher to dispatch a
In some situations, the processor cannot defer the requested function
and will spin on the lock until it becomes available.
To ensure system integrity along the special unlocked paths, various
local locks have been defined. These locks are tasically spin locks and
are held for short periods of time.
The
virtual machine in problem
service for that virtual machine. This lock will prevent a virtual
aachine from being serviced by
state.
The free storage lock is a spin lock obtained by
FRET requests for free storage.
There are several other locks used by
global system lock is not held. All of the locks used by
described in detail in