Disclosed is a method, system, and program for determining which data to remove from storage. A first policy is used to determine when to remove a block of data of a first type. A second policy is used to determine when to remove a block of data of a second type.
Managing memory includes: mediating access to a first memory as a cache for a second memory; and associating one of a plurality of entry types with entries in the cache. Data from the second memory associated with a first type is not allowed to evict a cache entry associated with a second type.