Revert "Revert "staging: android: lowmemorykiller: Remove bitrotted codepath""
authorRebecca Schultz Zavin <rebecca@android.com>
Tue, 21 Dec 2010 19:28:18 +0000 (11:28 -0800)
committerRebecca Schultz Zavin <rebecca@android.com>
Tue, 21 Dec 2010 19:28:18 +0000 (11:28 -0800)
This reverts commit abe997b06f4da33416b20bed5784abd9ea97c7c9.

drivers/staging/android/lowmemorykiller.c

index 57da5f4613b36749f63589413a696f7cf6a2a4cd..8b67ac06e4b0b222ec80f9998287aafb5e71ea06 100644 (file)
@@ -164,12 +164,6 @@ static int lowmem_shrink(struct shrinker *s, 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);