CPC G06F 9/3816 (2013.01) [G06F 9/44505 (2013.01); G06F 9/5016 (2013.01); G06F 9/505 (2013.01); G06F 12/0815 (2013.01)] | 20 Claims |
1. A method for managing a system having a system level cache, a near memory, and a far memory, wherein cache lines associated with the system level cache can be swapped between the near memory and the far memory, the method comprising:
receiving a write request from a requestor to write non-zero data corresponding to an address; and
prior to writing the non-zero data:
analyzing a first metadata portion to determine whether a current cache line stored at the address in the near memory is guaranteed to be in the system level cache, and
analyzing a second metadata portion to determine whether a data portion associated with another cache line swappable with the current cache line comprises all zeros.
|