Home
last modified time | relevance | path

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

/system/extras/alloc-stress/
Dalloc-stress.cpp110 pid_t createProcess(Pipe pipe, const char* exName, const char* arg, bool use_memcg) { in createProcess() argument
127 use_memcg ? "1" : "0", nullptr); in createProcess()
173 bool use_memcg = false; in main() local
206 use_memcg = true; in main()
210 cout << "Memory cgroups are " << (use_memcg ? "used" : "not used") << endl; in main()
218 ch_pid = createProcess(std::move(std::get<1>(pipes)), argv[0], arg, use_memcg); in main()
/system/core/init/
Dservice.cpp717 bool use_memcg = swappiness_ != -1 || soft_limit_in_bytes_ != -1 || limit_in_bytes_ != -1 || in Start() local
719 errno = -createProcessGroup(uid(), pid_, use_memcg); in Start()
725 return Error() << "createProcessGroup(" << uid() << ", " << pid_ << ", " << use_memcg in Start()
734 if (use_memcg) { in Start()