Eviction of a cache line based on a modification of a sector of the cache line
AssigneeMicron Technology, Inc.
InventorsDhawal Bavishi, Robert M. Walker
Life of this patent
Estimating the term…
Abstract
An indication to perform an eviction operation on a cache line in a cache can be received. A determination can be made as to whether at least one sector of the cache line is associated with invalid data. In response to determining that at least one sector of the cache line is associated with invalid data, a read operation can be performed to retrieve valid data associated with the at least one sector. The at least one sector of the cache line that is associated with the invalid data can be modified based on the valid data. Furthermore, the eviction operation can be performed on the cache line with the modified at least one sector.
Claims20
A method comprising:
- identifying a cache line to be evited from a cache, the cache line comprising first data;
- performing, by a processing device, a read operation to retrieve, from a memory device separate from the cache, second data having a same logical address as the first data;
- replacing the first data in the cache line to be evicted with the retrieved second data having the same logical address to generate a modified cache line;
- and
- performing an eviction operation to evict the modified cache line from the cache.
A system comprising:
- a memory device;
- and
- a processing device, operatively coupled with the memory device, to perform operations comprising:
- identifying a cache line to be evicted from a first cache, the cache line comprising first data;
- identifying, from a second cache, second data that is associated with the first data and has a same logical address as the first data;
- replacing the first data in the cache line to be evicted with the retrieved second data having the same logical address to generate a modified cache line;
- and
- performing an eviction operation to evict the modified cache line from the cache.
A non-transitory computer readable medium comprising instructions, which when executed by a processing device, cause the processing device to perform operations comprising:
- identifying a cache line to be evicted from a cache, the cache line comprising first data;
- performing a read operation to retrieve, from a memory device separate from the cache, second data having a same logical address as the first data;
- replacing the first data in the cache line to be evicted with the retrieved second data having the same logical address to generate a modified cache line;
- and
- performing an eviction operation to evict the modified cache line from the cache.
Dependencies are inferred from the claim text.