×

Dynamic cache allocation policy adaptation in a data processing apparatus

  • US 9,836,403 B2
  • Filed: 05/01/2015
  • Issued: 12/05/2017
  • Est. Priority Date: 06/05/2014
  • Status: Active Grant
First Claim
Patent Images

1. A data processing apparatus comprising:

  • a processor 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 memory configured, in dependence on an allocation policy defined for the cache memory, to store a local copy of an accessed data item from the memory for subsequent access by the processor; and

    a memory access buffer configured to buffer one or more write access requests issued by the processor 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 memory 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 memory and the access undersize condition is met, the data processing apparatus is configured to cause the cache memory 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 memory.

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