Home
last modified time | relevance | path

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

/system/extras/alloc-stress/
Dalloc-stress.cpp108 pid_t createProcess(Pipe pipe, const char* exName, const char* arg, bool use_memcg) { in createProcess() argument
125 use_memcg ? "1" : "0", nullptr); in createProcess()
201 bool use_memcg = false; in main() local
234 use_memcg = true; in main()
238 cout << "Memory cgroups are " << (use_memcg ? "used" : "not used") << endl; in main()
246 ch_pid = createProcess(std::move(std::get<1>(pipes)), argv[0], arg, use_memcg); in main()
/system/core/init/
Dservice.cpp569 bool use_memcg = swappiness_ != -1 || soft_limit_in_bytes_ != -1 || limit_in_bytes_ != -1 || in Start() local
571 errno = -createProcessGroup(proc_attr_.uid, pid_, use_memcg); in Start()
575 } else if (use_memcg) { in Start()