Lines Matching refs:points
52 unsigned long points, cpu_time, run_time, s;
66 points = mm->total_vm;
90 points += child->mm->total_vm/2 + 1;
109 points /= s;
112 points /= s;
116 * their badness points.
119 points *= 2;
127 points /= 4;
136 points /= 4;
144 points /= 8;
151 if (!points)
152 points = 1;
153 points <<= p->oomkilladj;
155 points >>= -(p->oomkilladj);
159 printk(KERN_DEBUG "OOMkill: task %d (%s) got %d points\n",
160 p->pid, p->comm, points);
162 return points;
203 * number of 'points'. We expect the caller will lock the tasklist.
216 unsigned long points;
261 points = badness(p, uptime.tv_sec);
262 if (points > *ppoints || !chosen) {
264 *ppoints = points;
346 static int oom_kill_process(struct task_struct *p, unsigned long points,
362 message, p->pid, p->comm, points);
400 unsigned long points = 0;
430 oom_kill_process(current, points,
435 oom_kill_process(current, points,
447 p = select_bad_process(&points);
459 if (oom_kill_process(p, points, "Out of memory"))