Performing a clear operation absent host intervention
AssigneeInternational Business Machines Corporation
InventorsCharles W. Gainey, Jr., Dan F. Greiner, Lisa C. Heller, Damian L. Osisek, Gustav E. Sittmann, III
Life of this patent
Estimating the term…
Abstract
Optimizations are provided for frame management operations, including a clear operation and/or a set storage key operation, requested by pageable guests. The operations are performed, absent host intervention, on frames not resident in host memory. The operations may be specified in an instruction issued by the pageable guests.
Claims20
A method of executing an instruction, the method comprising:
- executing, by a guest processor, a perform frame management function (PFMF) instruction, the PFMF instruction comprising an address for locating a guest frame and a frame management function indication, the frame management function indication specifying at least one of a clear frame control or a set key control, the executing comprising:
- determining, based on the frame management function indication specifying the clear frame control, whether the guest frame is assigned to host memory;
- based on determining the guest frame is assigned to host memory, clearing the guest frame;
- and
- based on determining the guest frame is not assigned to host memory, performing one of generating a translation exception or logically clearing the guest frame.
A computer program product for executing an instruction, the computer program product comprising:
- a computer readable storage medium readable by a processing circuit and storing instructions for execution by the processing circuit for performing a method comprising:
- executing, by a guest processor, a perform frame management function (PFMF) instruction, the PFMF instruction comprising an address for locating a guest frame and a frame management function indication, the frame management function indication specifying at least one of a clear frame control or a set key control, the executing comprising:
- determining, based on the frame management function indication specifying the clear frame control, whether the guest frame is assigned to host memory;
- based on determining the guest frame is assigned to host memory, clearing the guest frame;
- and
- based on determining the guest frame is not assigned to host memory, performing one of generating a translation exception or logically clearing the guest frame.
A computer system for executing an instruction, the computer system comprising:
- a memory;
- and
- a processor in communications with the memory, wherein the computer system is configured to perform a method, said method comprising:
- executing, by a guest processor, a perform frame management function (PFMF) instruction, the PFMF instruction comprising an address for locating a guest frame and a frame management function indication, the frame management function indication specifying at least one of a clear frame control or a set key control, the executing comprising:
- determining, based on the frame management function indication specifying the clear frame control, whether the guest frame is assigned to host memory;
- based on determining the guest frame is assigned to host memory, clearing the guest frame;
- and
- based on determining the guest frame is not assigned to host memory, performing one of generating a translation exception or logically clearing the guest frame.
Dependencies are inferred from the claim text.