Home
last modified time | relevance | path

Searched refs:use_memcg (Results 1 – 2 of 2) sorted by relevance

/system/extras/alloc-stress/
Dalloc-stress.cpp113 const char *arg, bool use_memcg) in createProcess() argument
131 use_memcg ? "1" : "0", nullptr); in createProcess()
211 bool use_memcg = false; in main() local
246 use_memcg = true; in main()
251 << (use_memcg ? "used" : "not used") << endl; in main()
260 argv[0], arg, use_memcg); in main()
/system/core/init/
Dservice.cpp562 bool use_memcg = swappiness_ != -1 || soft_limit_in_bytes_ != -1 || limit_in_bytes_ != -1 || in Start() local
564 errno = -createProcessGroup(proc_attr_.uid, pid_, use_memcg); in Start()
568 } else if (use_memcg) { in Start()