Back to results
US 10,255,069 B2Granted
Cleared memory indicator
AssigneeInternational Business Machines Corporation
InventorsJane H. Bartik, Peter G. Sutton, Craig R. Walters
Life of this patent
Estimating the term…
Abstract
Aspects include a computer-implemented method for receiving an instruction at a processor, the instruction associated with a memory block having an address. A clear indicator that indicates whether the memory block is in a cleared state is assessed by the processor. The cleared state is a state of the memory block in which the memory block does not have any data stored therein. The method also includes determining based on the clear indicator whether the memory block is in the cleared state.
Claims9
A computer-implemented method, comprising:
- receiving an instruction from a requesting device for access to an amount of memory;
- selecting a memory space in the memory corresponding to the amount of memory, the memory space including one or more memory blocks, each memory block of the one or more memory blocks having an address;
- inspecting a clear indicator associated with each memory block, the clear indicator stored as at least one bit in a field that is separate from contents of a respective memory block, the clear indicator indicating whether the respective memory block is in a cleared state, wherein the cleared state is a state of the respective memory block in which the respective memory block does not have any data stored therein;
- determining based on the clear indicator whether each memory block in the memory space is in the cleared state;
- based on determining that a first set of one or more memory blocks in the memory space is not in the cleared state while a second set of one or more memory blocks in the memory space is in the cleared state, clearing the memory space by clearing only the first set of one or more memory blocks;
- assigning the memory space to the requesting device;
- in response to the requesting device finishing its use of the memory space, accessing the clear indicator for each memory block and determining based on the clear indicator whether (1) each memory block in the memory space used by the requesting device is in the cleared state or (2) a third set of one or more memory blocks in the memory space is not in the cleared state while a fourth set of one or more memory blocks in the memory space is in the cleared state;
- based on determining that a third set of one or more memory blocks in the memory space used by the requesting device is not in the cleared state while a fourth set of one or more memory blocks in the memory space used by the requesting device is in the cleared state, clearing the memory space by clearing only the third set of one or more memory blocks;
- and
- making the memory space available for subsequent requests.
7 more elements
Dependencies are inferred from the claim text.