Can Copy of Table Entry Be State of Table Entry in TLB ?
Active AttachedValid Yes
Active AttachedInvalid Yes
1
Active UnattachedValid Yes
1
Active UnattachedInvalid Yes
1Inactive Attached Valid * Inactive Attached Invalid No Inactive Unattached Valid No Inactive Unattached Invalid No Explanation: Can Table Entry
Be Fetched forTranslation ?
Yes
Yes
No
No
*
Yes
No
No
Page ofGA22-7000-4 Revised September 1, 1975
By TNL: GN22-0498
CanTable Entry Can TLB Copy Be
Be Used for Fetched forImplicit Translation? Translation? Yes Yes
No Yes
No No
No No
No No
No No
No No
1 The TLB may contain a copy of apreviously attached and valid entry.
* This state cannot exist. An attached andvalid table entry is active. Use of Translation Tables
3. When any change is made to an invalid entry in
such a way as to cause intermediate valid valĀ
ues to appear in the entry, eachCPU to which
the entry is attached must issuePURGE TLB
after the change occurs and prior to the use of
the entry for implicit address translation by
thatCPU. Note that when an invalid page-table entry is
made valid introducing intermediate valid
values, the TLB need not be purged in aCPU in
which the entry previously was inactive. Similarly,
when an invalid segment-table entry is made valid
without introducing intermediate valid values, the
TLB need not be purged in aCPU in which the
segment-table entry and all page-table entries
attached by it previously were inactive.
Execution of thePURGE TLB instruction may
have an adverse effect on the performance of some
models.Use of this instruction should, therefore, be
minimized in conformity with the above rules.
Reference and Change Recording
Reference recording provides information for use in
selecting storage blocks for page replacement.
Change recording provides information as to which
pages have to be saved when they are replaced by
new pages. Both reference and change recording are
associated with the dynamic-address-translation
facility.
When the dynamic-address-translation facility is
installed, the key in storage is extended with two
additional bits. Bit 5, the reference bit, normally is
set to one each time a location in the corresponding
storage block is referred to either for storing or
fetching of information. Bit 6, the change bit, is set
to one each time information is stored in the correĀ
sponding storage block. The recording of references
and changes is not contingent on whether theCPU is in the extended-control or basic-control mode or
whether address translation is specified.
Reference and change recording takes place for
any main-storage access and applies to accesses
made by aCPU, as well as to those due to II 0 ations. Hence, references to a main-storage location
associated with interruptions and110 instructions,
such as occur to the CAW, CSW, orPSW locations,
are included. A translation-table lookup in the proĀ
cess of address translation is considered areference, provided the table in main storage has actually been
referred to. It is unpredictable whether updating of
the interval timer causes change and reference bits
for location 80 to be turned on. References to the
operand locations ofSET STORAGE KEY, INĀ SERT STORAGE KEY, and RESET REFERENCE
BIT do not cause reference or change to be recordĀ
ed.
The change bit is not turned on for an attempt to
store if the storage reference is not permitted, reĀ
gardless of whether theCPU instruction responsible
for the reference is suppressed or terminated. In
particular, aCPU reference causing a protection,
addressing, segment-translation, or page-translation
exception, or an110 reference to an invalid or proĀ
tected location does not cause the change bit to be
turned on.
The record of references provided by the referĀ
ence bit is substantially accurate. The reference bit
may be turned on by fetching data or instructions
that are neither designated nor used by the program,
and, under certain conditions, a reference may be
made without the reference bit being turned on.
Under certain unusual conditions, a reference bit
that is on may be turned off by other than explicit
program action.
Reference and change recording operates on
2,048-byte blocks regardless of the page size in-
Dynamic Address Translation 67
Active Attached
Active Attached
1
Active Unattached
1
Active Unattached
1
Be Fetched for
Yes
Yes
No
No
*
Yes
No
No
Page of
By TNL: GN22-0498
Can
Be Used for Fetched for
No Yes
No No
No No
No No
No No
No No
1 The TLB may contain a copy of a
* This state cannot exist. An attached and
3. When any change is made to an invalid entry in
such a way as to cause intermediate valid valĀ
ues to appear in the entry, each
the entry is attached must issue
after the change occurs and prior to the use of
the entry for implicit address translation by
that
made valid
values, the TLB need not be purged in a
which the entry previously was inactive. Similarly,
when an invalid segment-table entry is made valid
without introducing intermediate valid values, the
TLB need not be purged in a
segment-table entry and all page-table entries
attached by it previously were inactive.
Execution of the
have an adverse effect on the performance of some
models.
minimized in conformity with the above rules.
Reference and Change Recording
Reference recording provides information for use in
selecting storage blocks for page replacement.
Change recording provides information as to which
pages have to be saved when they are replaced by
new pages. Both reference and change recording are
associated with the dynamic-address-translation
facility.
When the dynamic-address-translation facility is
installed, the key in storage is extended with two
additional bits. Bit 5, the reference bit, normally is
set to one each time a location in the corresponding
storage block is referred to either for storing or
fetching of information. Bit 6, the change bit, is set
to one each time information is stored in the correĀ
sponding storage block. The recording of references
and changes is not contingent on whether the
whether address translation is specified.
Reference and change recording takes place for
any main-storage access and applies to accesses
made by a
associated with interruptions and
such as occur to the CAW, CSW, or
are included. A translation-table lookup in the proĀ
cess of address translation is considered a
referred to. It is unpredictable whether updating of
the interval timer causes change and reference bits
for location 80 to be turned on. References to the
operand locations of
BIT do not cause reference or change to be recordĀ
ed.
The change bit is not turned on for an attempt to
store if the storage reference is not permitted, reĀ
gardless of whether the
for the reference is suppressed or terminated. In
particular, a
addressing, segment-translation, or page-translation
exception, or an
tected location does not cause the change bit to be
turned on.
The record of references provided by the referĀ
ence bit is substantially accurate. The reference bit
may be turned on by fetching data or instructions
that are neither designated nor used by the program,
and, under certain conditions, a reference may be
made without the reference bit being turned on.
Under certain unusual conditions, a reference bit
that is on may be turned off by other than explicit
program action.
Reference and change recording operates on
2,048-byte blocks regardless of the page size in-
Dynamic Address Translation 67