Implement a policy for selecting memory types.