The PGOUT macro is used to initiate page-out operations for specified virtual storage areas that are in central (also called real) storage. The PGOUT macro performs this function for virtual addresses below 16 megabytes; the OUT option of the PGSER macro performs the same function for virtual addresses either above or below 16 megabytes. The PGOUT function is complementary to the PGLOAD function. You have the option of specifying that the virtual pages to be paged out either remain valid in central storage, or be marked invalid and the real frames assigned to them be made available for reuse. The use of this option will not prevent page faults from occurring on the specified storage.
The misuse of this function, like the misuse of the PGLOAD function, can have adverse effects on system performance. On the other hand, proper use of this function will tend to clean out of central storage those pages no longer needed for program execution or not required for some period in the future.
The standard form of the PGOUT macro is written as follows:
Syntax | Description |
---|---|
name | name: Symbol. Begin name in column 1. |
␢ | One or more blanks must precede PGOUT. |
PGOUT | |
␢ | One or more blanks must follow PGOUT. |
R | |
,A=start addr | start addr: A-type address, or register (1) or (2) - (12). |
,EA=end addr | end addr: A-type address, or register (2) - (12) or (15). |
,KEEPREL=N | Default: KEEPREL=N |
,KEEPREL=Y | |
The parameters are explained as follows:
PGOUT R,A=(R3),EA=(R4)
PGOUT R,A=(R3),EA=(R4),KEEPREL=Y