Searched refs:use_memcg (Results 1 – 2 of 2) sorted by relevance
108 pid_t createProcess(Pipe pipe, const char* exName, const char* arg, bool use_memcg) { in createProcess() argument125 use_memcg ? "1" : "0", nullptr); in createProcess()201 bool use_memcg = false; in main() local234 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()
569 bool use_memcg = swappiness_ != -1 || soft_limit_in_bytes_ != -1 || limit_in_bytes_ != -1 || in Start() local571 errno = -createProcessGroup(proc_attr_.uid, pid_, use_memcg); in Start()575 } else if (use_memcg) { in Start()