×

DYNAMIC CACHE ALLOCATION POLICY ADAPTATION IN A DATA PROCESSING APPARATUS

  • US 20150356019A1
  • Filed: 05/01/2015
  • Published: 12/10/2015
  • Est. Priority Date: 06/05/2014
  • Status: Active Grant
First Claim
Patent Images

1. A data processing apparatus comprising:

  • a processor unit configured to issue a write access request which specifies a memory address and a data item in order to cause the data item to be stored in a memory at the memory address;

    a cache unit configured, in dependence on an allocation policy defined for the cache unit, to store a local copy of an accessed data item from the memory for subsequent access by the processor unit; and

    a memory access buffer configured to buffer one or more write access requests issued by the processor unit until a memory transaction trigger condition is satisfied and then to cause a memory transaction with respect to the memory to be initiated which comprises carrying out the one or more buffered write access requests,wherein the memory transaction is constrained to carry out a write operation in which all of a predetermined range of memory addresses within which one or more memory addresses specified by the one or more buffered write access requests lies are written by the write operation,wherein the data processing apparatus is configured to identify an access undersize condition when the buffered write access requests do not comprise all memory addresses within at least two predetermined ranges of memory addresses, andwhen the cache unit is configured to operate with the allocation policy as a no-write allocate policy according to which the local copy of the accessed data item is not stored in the cache unit and the access undersize condition is met, the data processing apparatus is configured to cause the cache unit to subsequently operate with the allocation policy as a write allocate policy according to which the local copy of the accessed data item is stored in the cache unit.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×