27.12.2012 Views

z/VM: CP Commands and Utilities Reference - z/VM - IBM

z/VM: CP Commands and Utilities Reference - z/VM - IBM

z/VM: CP Commands and Utilities Reference - z/VM - IBM

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

LOCK<br />

Usage Notes<br />

572 z/<strong>VM</strong>: <strong>CP</strong> <strong>Comm<strong>and</strong>s</strong> <strong>and</strong> <strong>Utilities</strong> <strong>Reference</strong><br />

Table 14. Page Number Derivation (continued)<br />

2000-2FFF 2<br />

.<br />

1A000-1AFFF 1A<br />

.<br />

lastpage<br />

is the hexadecimal number value of the last user, system, or address space<br />

page to be brought into storage <strong>and</strong> locked. If only one page is to be brought<br />

into storage, firstpage must be the same as lastpage.<br />

SYMBOL symbol<br />

has no effect <strong>and</strong> is retained only for compatibility with previous releases. All<br />

symbols are considered resident, which means they cannot be locked or<br />

unlocked. When used with the SYMBOL keyword, you can specify symbol as a<br />

pattern by using asterisks (*) in place of one or more characters <strong>and</strong> percent<br />

signs (%) in place of exactly one character.<br />

symbol<br />

has no effect <strong>and</strong> is retained only for compatibility with previous releases.<br />

MAP<br />

specifies whether a map of the storage pages locked should be displayed. MAP<br />

is the default with symbol.<br />

1. In the primary address space the first <strong>and</strong> last page numbers are treated as real<br />

addresses. They are prefixed with the prefix register value of the base virtual<br />

<strong>CP</strong>U of the target virtual machine.<br />

In other address spaces, the first <strong>and</strong> last page numbers are treated as<br />

absolute addresses. Prefixing is not applied to these addresses.<br />

2. If the reserved page frames option is already in use by another virtual machine,<br />

you can use the LOCK comm<strong>and</strong> to enhance the efficiency of a particular virtual<br />

machine by keeping pages that are frequently referred to (such as page zero of<br />

the virtual machine’s primary address space) in real storage. If the number of<br />

page frames available for paging is limited, you should not enter the LOCK<br />

comm<strong>and</strong> without the approval of your system programmer.<br />

3. If too many pages of real storage are locked, the remaining virtual machines<br />

may not have enough page frames available to operate efficiently. The<br />

performance of all virtual machines may be severely degraded because of the<br />

excessive contention for the available page frames.<br />

4. Once a page of a virtual machine’s storage is locked, it remains locked until one<br />

of these events occurs:<br />

v The <strong>CP</strong> UNLOCK comm<strong>and</strong> is issued for the page.<br />

v A SYSTEM CLEAR comm<strong>and</strong> is issued.<br />

v The page is released by a DIAGNOSE X'10' instruction or a TEST BLOCK<br />

instruction.<br />

v A MAPMDISK DEFINE operation is issued for the page.<br />

v A <strong>CP</strong> comm<strong>and</strong> causes an implicit system-reset-clear operation (for example,<br />

DEFINE STORAGE, LOGOFF, <strong>and</strong> some forms of the IPL comm<strong>and</strong>).<br />

.<br />

.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!