CACHE_TYPE_RAM
status_t error = VMCache::Init("VMAnonymousCache", CACHE_TYPE_RAM, allocationFlags);
status_t error = VMCache::Init("VMAnonymousNoSwapCache", CACHE_TYPE_RAM, allocationFlags);
|| !cache->consumers.IsEmpty() || cache->type != CACHE_TYPE_RAM) {
area->cache_type = CACHE_TYPE_RAM;
if (cache->type != CACHE_TYPE_RAM)
return area->cache->type == CACHE_TYPE_RAM
case CACHE_TYPE_RAM:
if (cache->type == CACHE_TYPE_RAM)
if (cache->type == CACHE_TYPE_RAM || (level == 0 && info.committed > 0)) {