Searched refs:max_avail (Results 1 – 2 of 2) sorted by relevance
37 int64_t max_avail = CacheServerHW::GetTotalSystemMemory() * memory_cap_ratio_; in NumaMemoryPool() local38 int64_t arena_sz = max_avail / num_memory_nodes; in NumaMemoryPool()42 num_memory_nodes = max_avail / arena_sz; in NumaMemoryPool()45 arena_sz = max_avail; in NumaMemoryPool()
154 int64_t max_avail = avail_mem; in GlobalMemoryCheck() local160 max_avail -= mem_consumed; in GlobalMemoryCheck()161 if (max_avail <= 0) { in GlobalMemoryCheck()169 if (max_avail < avail_mem) { in GlobalMemoryCheck()171 if (req_mem > max_avail) { in GlobalMemoryCheck()176 …if (static_cast<float>(max_avail) / static_cast<float>(avail_mem) <= kMemoryBottomLineForNewServic… in GlobalMemoryCheck()