1. A method, comprising: detecting a memory access transaction; determining a retention value based on the type of memory access transaction; and storing the retention value in an entry associated with the memory access transaction.