Management of cache memories in a data processing apparatus
AssigneeArm Limited
InventorsChristophe Evrard, Cedric Airaud, Philippe Raphalen
Life of this patent
Estimating the term…
Loading patent…
AssigneeArm Limited
InventorsChristophe Evrard, Cedric Airaud, Philippe Raphalen
Estimating the term…
The present invention provides a data processing apparatus and method for managing cache memories. The data processing apparatus comprises a processing unit for issuing an access request seeking access to a data value, and a hierarchy of cache memories for storing data values for access by the processing unit. The hierarchy of cache memories comprises at least an n-th level cache memory and n+1-th level cache memory which at least in part employ exclusive behaviour with respect to each other. Each cache memory comprises a plurality of cache lines, at least one dirty value being associated with each cache line, and each dirty value being settable to indicate that at least one data value held in the associated cache line is more up-to-date than a corresponding data value stored in a main memory. When employing exclusive behaviour, the n-th level cache memory is operable, on eviction of a cache line from the n-th level cache memory to the n+1-th level cache memory, to additionally pass an indication of the at least one associated dirty value from the n-th level cache memory to the n+1-th level cache memory. This has been found to reduce the frequency of evictions of lines from the n+1-th level cache memory when employing exclusive behaviour.
A data processing apparatus comprising:
A data processing apparatus comprising:
A method of managing cache memories in a data processing apparatus, the data processing apparatus having a processing unit for issuing an access request seeking access to a data value, and a hierarchy of cache memories for storing data values for access by the processing unit, each cache memory in the hierarchy comprising a plurality of cache lines, at least one dirty value being associated with each cache line, each dirty value being settable to indicate that at least one data value held in the associated cache line is more up-to-date than a corresponding data value stored in a main memory, the method comprising the steps of:
Dependencies are inferred from the claim text.