US 11,656,995 B2
Dynamic access granularity in a cache media
Dhawal Bavishi, San Jose, CA (US); and Robert M. Walker, Raleigh, NC (US)
Assigned to Micron Technology, Inc., Boise, ID (US)
Filed by Micron Technology, Inc., Bosie, ID (US)
Filed on Nov. 26, 2019, as Appl. No. 16/695,878.
Prior Publication US 2021/0157736 A1, May 27, 2021
Int. Cl. G06F 12/0875 (2016.01)
CPC G06F 12/0875 (2013.01) 20 Claims
OG exemplary drawing
 
1. A method comprising:
receiving a memory access request comprising an address of data to be accessed;
determining a first access granularity or a second access granularity of the data to be accessed based on comparing the address of the data to be accessed with two or more ranges of memory addresses;
in response to determining that the data to be accessed has the first access granularity associated with a first processing component accessing a single cache memory component, generating first cache line metadata associated with the first access granularity and set each status bit of the first cache line metadata associated with the address to indicate a valid status and a dirty status of a first cache line;
in response to determining that the data to be accessed has the second access granularity associated with a second processing component accessing the single cache memory component, generating second cache line metadata associated with the second access granularity and set a subset of status bits of the second cache line metadata associated with the address to indicate a valid status and a dirty status of a second cache line; and
storing the first cache line metadata and the second cache line metadata in the single cache memory component.