Revert "lowmemorykiller: Don't try to kill the same pid over and over"

This reverts commit 65c9eb5fc0.
This commit is contained in:
黄涛 2011-07-30 22:16:40 +08:00
parent 5d159c8120
commit f06b6247a2

View File

@ -133,12 +133,6 @@ static int lowmem_shrink(int nr_to_scan, gfp_t gfp_mask)
p->pid, p->comm, oom_adj, tasksize);
}
if (selected) {
if (fatal_signal_pending(selected)) {
pr_warning("process %d is suffering a slow death\n",
selected->pid);
read_unlock(&tasklist_lock);
return rem;
}
lowmem_print(1, "send sigkill to %d (%s), adj %d, size %d\n",
selected->pid, selected->comm,
selected_oom_adj, selected_tasksize);