Load stall interrupt
AssigneeInternational Business Machines Corporation
InventorsCharles R. Johns, Kirk E. Morrow, Michael J. Neuling, James Xenidis
Life of this patent
Estimating the term…
Abstract
Systems, methods, and computer program products retrieve data from a low retrieval speed device. A request is made to retrieve data from the low retrieval speed device. A determination is made that the time to respond to the request will exceed a threshold amount of time. In response to the determination that the time to respond to the request will exceed the threshold amount of time, a load stall interrupt is generated. In response to the load stall interrupt, one or more system resources associated with a source of the request are released.
Claims20
A method for retrieving data from a device, the method comprising:
- receiving, by a memory management unit, a request to retrieve data from a memory location in a low-retrieval-speed device;
- determining, by the memory management unit, that a time to respond to the request will exceed a threshold amount of time, wherein the determining is based, at least in part, on a slow-memory flag stored in a page table entry associated with the memory location in the low-retrieval-speed device ;
- and
- in response to determining that the time to respond to the request will exceed the threshold amount of time,
- generating, by the memory management unit, a load stall interrupt to invoke a load stall interrupt handler indicated by a load stall interrupt vector,
- wherein in response to the load stall interrupt, one or more system resources associated with a source of the request are released.
A non-transitory computer program product for handling requests for information retrieval, the computer program product comprising a computer readable storage medium having program instructions embodied therewith, the program instructions executable by one or more processors, the program instructions including:
- program instructions to receive a request to retrieve data from a memory location in a low retrieval speed device;
- program instructions to determine that a time to respond to the request will exceed a threshold amount of time;
- and
- program instructions to, in response to the determination that the time to respond to the request will exceed the threshold amount of time,
- generate a load stall interrupt to invoke a load stall interrupt handler indicated by a load stall interrupt vector,
- wherein in response to the load stall interrupt, a processor releases one or more system resources associated with a source of the request.
An apparatus comprising:
- a processor;
- a plurality of interrupt vectors, the plurality of interrupt vectors including a load stall interrupt vector;
- a non-transitory computer readable storage medium communicably coupled to the processor, the computer readable storage medium having stored thereon program instructions executable by the processor, the instructions including:
- instructions to issue a request to retrieve data from a memory location in a low retrieval speed device, wherein a memory management unit is configured to generate a load stall interrupt in response to a determination that the time to process the request will exceed a threshold amount of time;
- instructions to in response to detection of the load stall interrupt, invoke a load stall interrupt handler indicated by the load stall interrupt vector, the load stall interrupt handler configured to release system resources associated with a source of the request.
Dependencies are inferred from the claim text.