Lines Matching refs:points
58 unsigned long points, cpu_time, run_time, s; in badness() local
72 points = mm->total_vm; in badness()
96 points += child->mm->total_vm/2 + 1; in badness()
115 points /= s; in badness()
118 points /= s; in badness()
125 points *= 2; in badness()
133 points /= 4; in badness()
142 points /= 4; in badness()
150 points /= 8; in badness()
157 if (!points) in badness()
158 points = 1; in badness()
159 points <<= p->oomkilladj; in badness()
161 points >>= -(p->oomkilladj); in badness()
166 p->pid, p->comm, points); in badness()
168 return points; in badness()
212 unsigned long points; in select_bad_process() local
259 points = badness(p, uptime.tv_sec); in select_bad_process()
260 if (points > *ppoints || !chosen) { in select_bad_process()
262 *ppoints = points; in select_bad_process()
386 unsigned long points, struct mem_cgroup *mem, in oom_kill_process() argument
414 message, task_pid_nr(p), p->comm, points); in oom_kill_process()
429 unsigned long points = 0; in mem_cgroup_out_of_memory() local
434 p = select_bad_process(&points, mem); in mem_cgroup_out_of_memory()
441 if (oom_kill_process(p, gfp_mask, 0, points, mem, in mem_cgroup_out_of_memory()
523 unsigned long points; in __out_of_memory() local
531 p = select_bad_process(&points, NULL); in __out_of_memory()
542 if (oom_kill_process(p, gfp_mask, order, points, NULL, in __out_of_memory()