Thus, after the CKON option has been invoked, each call to DMSFREE or DMSFRET takes many times as long to be completed as before. This can
impact the efficiency of system functions.• CKOFF--Use of this option turns off the flag that was turned by the CKON option, described in the preceding paragraph. • UREC--This option is called by DMSABN during the ABEND recovery
process to release allUSER storage. • CALOC--This option is called by DMSABN after the ABEND recovery
process has been completed. It invokes a routine that returns, in
register0, the number of doublewords of free storage that have been
allocated. This figure is usedby DMSABN to determine whether ABEND recovery has been successful. STORAGE PROTECTION KEYS In general, the following rule applies: storage is assigned the
storage key ofX'F', while user storage assigned the key of X'E'. This is the storage key associated with the protected areas of storage,
not to be confusedwith the PSi or CAW key used to access that storage.
The specific key assignments are as follows:• The NUCON area is assigned the key of X'F', with the exception of a
half-page containing theOPSECT and TSOBLOKS areas, which has a key
ofX'E'. • Free storage allocated by DMSFREE is broken up into user storage and
nucleus storage. The user storage has a protection key ofX'E', while the nucleus storage has a key of X'P'. • The transient program area has a key of X'E'. • The CMS nucleus code has a storage key of X'F'. In saved systems,
this entire segment is protectedby CP from modification even by the CMS system, and so must be entirely reentrant. • The user program area is assigned the storage key of X'E', except for
those pages which contain NucleusDMSFREE storage. These latter
pages are assigned the key ofX'F'. • The loader tables are assigned the key of X'F'. CMS SYSTEM HANDLING OF PSi KEYS The CMS nucleus protection scheme protects the CMS nucleus fro.
inadvertent destruction by a userprogram. This mechanism, however,
does not prevent a user from writing in system storage intentionally.
Because aCMS user can execute privileged instructions, he can issue a LOAD PSi (LPSW) instruction and load any PSi key he wishes. If a user
defeats nucleus protection in this way there is nothing to prevent his
programfrom: • Modifying nucleus code CMS Method of Operation and Program Organization 2-107
impact the efficiency of system functions.
process to release all
process has been completed. It invokes a routine that returns, in
register
allocated. This figure is used
storage key of
not to be confused
The specific key assignments are as follows:
half-page containing the
of
nucleus storage. The user storage has a protection key of
this entire segment is protected
those pages which contain Nucleus
pages are assigned the key of
inadvertent destruction by a user
does not prevent a user from writing in system storage intentionally.
Because a
defeats nucleus protection in this way there is nothing to prevent his
program